public class LightstreamerDetector extends AbstractServerDetector
Constructor and Description |
---|
LightstreamerDetector() |
Modifier and Type | Method and Description |
---|---|
ServerHandle |
detect(MBeanServerExecutor pMBeanServerExecutor)
Detect the server.
|
protected boolean |
isLightStreamer(Instrumentation instrumentation) |
void |
jvmAgentStartup(Instrumentation instrumentation)
By default do nothing during JVM agent startup
|
addMBeanServers, getAttributeValue, getAttributeValue, getSingleStringAttribute, getVersionFromJsr77, isClassLoaded, mBeanExists, searchMBeans
public ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)
ServerHandle
descriptor is returned
in case of a successful detection, null
otherwise.pMBeanServerExecutor
- null
it this implementation cant detect 'its' server.public void jvmAgentStartup(Instrumentation instrumentation)
AbstractServerDetector
jvmAgentStartup
in interface ServerDetector
jvmAgentStartup
in class AbstractServerDetector
instrumentation
- the Instrumentation implementationprotected boolean isLightStreamer(Instrumentation instrumentation)
Copyright © 2018. All rights reserved.