net.sf.infrared.agent.setup
Class InfraREDLifeCycleListener

java.lang.Object
  extended bynet.sf.infrared.agent.setup.InfraREDLifeCycleListener

public class InfraREDLifeCycleListener
extends Object

Implements the lifecycle methods for InfraRED.


Constructor Summary
InfraREDLifeCycleListener()
           
 
Method Summary
 void destroyed(String applicationName)
          Reset the infrared agent setting for the specified applciation
 MonitorFacade getAppPerformanceMonitorKit()
           
 void initialized(String applicationName, String instanceId, String configProvider)
          Initialized infraRED agent for the specified application name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfraREDLifeCycleListener

public InfraREDLifeCycleListener()
Method Detail

initialized

public void initialized(String applicationName,
                        String instanceId,
                        String configProvider)
Initialized infraRED agent for the specified application name. It is important that the threads context class loader is setup correctly when this call is made. All subsequently calls to infraRED orginating fromt his application should have the class loader or a child class loader as the threads context class loader. This is usually true if the methods are being called from a ServletContextListener or an ApplicationLifeCycleListener

Parameters:
applicationName -

destroyed

public void destroyed(String applicationName)
Reset the infrared agent setting for the specified applciation

Parameters:
applicationName -

getAppPerformanceMonitorKit

public MonitorFacade getAppPerformanceMonitorKit()