public class RemoteInstrumentationServiceImpl extends AbstractService implements RemoteInstrumentationService, ConnectionListener, AgentConfigListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INSTRUMENTATION_CONFIG |
logger| Constructor and Description |
|---|
RemoteInstrumentationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
configChanged(java.lang.String appName,
AgentConfig agentConfig) |
void |
connected(IRPMService pRpmService,
AgentConfig pConnectionInfo) |
void |
disconnected(IRPMService pRpmService) |
protected void |
doStart() |
protected void |
doStop() |
boolean |
isEnabled()
Is the service enabled.
|
ReinstrumentResult |
processXml(java.lang.String pXml)
Parses the input XML, creates the new point cuts, and then reinstruments any classes matching the new point cuts.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic static final java.lang.String INSTRUMENTATION_CONFIG
public boolean isEnabled()
Serviceprotected void doStart()
throws java.lang.Exception
doStart in class AbstractServicejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServicejava.lang.Exceptionpublic void connected(IRPMService pRpmService, AgentConfig pConnectionInfo)
connected in interface ConnectionListenerpublic void disconnected(IRPMService pRpmService)
disconnected in interface ConnectionListenerpublic ReinstrumentResult processXml(java.lang.String pXml)
RemoteInstrumentationServiceprocessXml in interface RemoteInstrumentationServicepXml - Xml with new point cuts to be created for future instrumentation.public void configChanged(java.lang.String appName,
AgentConfig agentConfig)
configChanged in interface AgentConfigListener