Kieker 1.9

kieker.tools.bridge.connector
Class ServiceConnectorFactory

java.lang.Object
  extended by kieker.tools.bridge.connector.ServiceConnectorFactory

public final class ServiceConnectorFactory
extends Object

This factory is an attempt to simplify the instantiation of new connector types. However, we need to re-think this and move configuration to the Kieker configuration.

Since:
1.8
Author:
Reiner Jung

Method Summary
static ConcurrentMap<Integer,LookupEntity> createLookupEntityMap(ConcurrentMap<Integer,Class<? extends IMonitoringRecord>> recordMap)
          Calculates the lookup table from the record map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createLookupEntityMap

public static ConcurrentMap<Integer,LookupEntity> createLookupEntityMap(ConcurrentMap<Integer,Class<? extends IMonitoringRecord>> recordMap)
                                                                 throws ConnectorDataTransmissionException
Calculates the lookup table from the record map.

Parameters:
recordMap - A map containing ids and IMonitoringRecord types
Returns:
A map containing record ids referencing constructor and field information
Throws:
ConnectorDataTransmissionException - if the lookup table compilation fails

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net