com.dynatrace.oneagent.sdk
Class OneAgentSDKFactory

java.lang.Object
  extended by com.dynatrace.oneagent.sdk.OneAgentSDKFactory

public class OneAgentSDKFactory
extends java.lang.Object

Entry point for customer application.


Constructor Summary
OneAgentSDKFactory()
           
 
Method Summary
static OneAgentSDK createInstance()
          Provides a OneAgentSDK instance, that has to be used to create transactions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneAgentSDKFactory

public OneAgentSDKFactory()
Method Detail

createInstance

public static OneAgentSDK createInstance()
Provides a OneAgentSDK instance, that has to be used to create transactions. It is safe to use returned OneAgentSDK instance in multiple threads. Every application should only create one single SDK instance during its lifetime.

Returns:
never null. if no OneAgent present, NOOP implementation gets returned.