AppDynamics APM API v2.0

com.appdynamics.apm.appagent.api
Class AgentDelegate

java.lang.Object
  extended by com.appdynamics.apm.appagent.api.AgentDelegate

public class AgentDelegate
extends java.lang.Object

Static API helper to access appdynamics agent functionality.

This class is available on the bootstrap classpath.

Since:
1.0

Method Summary
static IMetricAndEventReporter getMetricAndEventPublisher()
          Get handle to the metric and event publish api.
static ITransactionDemarcator getTransactionDemarcator()
          Get handle to transaction demaracator api.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTransactionDemarcator

public static ITransactionDemarcator getTransactionDemarcator()
Get handle to transaction demaracator api. Returns null if the java agent is not initialized in the current JVM (e.g. -javaagent option is not added to the JVM startup command or agent failed to initialize)

Returns:
an implementation of ITransactionDemarcator interface
See Also:
ITransactionDemarcator

getMetricAndEventPublisher

public static IMetricAndEventReporter getMetricAndEventPublisher()
Get handle to the metric and event publish api. Returns null if the java agent is not initialized in the current JVM (e.g. -javaagent option is not added to the JVM startup command or agent failed to initialize)

Returns:
an an implementation of IMetricAndEventPublish interface
See Also:
IMetricAndEventReporter

AppDynamics APM API v2.0

Copyright 2010 AppDynamics Inc. All rights reserved.