Kieker 1.12

kieker.tools.bridge.connector
Class ServiceConnectorFactory

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

public final class ServiceConnectorFactory
extends java.lang.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 java.util.concurrent.ConcurrentMap<java.lang.Integer,LookupEntity> createLookupEntityMap(java.util.concurrent.ConcurrentMap<java.lang.Integer,java.lang.Class<? extends IMonitoringRecord>> recordMap)
          Calculates the lookup table from the record map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createLookupEntityMap

public static java.util.concurrent.ConcurrentMap<java.lang.Integer,LookupEntity> createLookupEntityMap(java.util.concurrent.ConcurrentMap<java.lang.Integer,java.lang.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.12

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