public class WebsphereDetector extends AbstractServerDetector
Modifier and Type | Field and Description |
---|---|
static String |
INTERNAL_ERROR_MSG |
Constructor and Description |
---|
WebsphereDetector() |
Modifier and Type | Method and Description |
---|---|
void |
addMBeanServers(Set<MBeanServerConnection> servers)
Do nothing by default, leaving the implementation
optional for each specific detector
|
ServerHandle |
detect(MBeanServerExecutor pMBeanServerExecutor)
Detect the server.
|
getAttributeValue, getAttributeValue, getSingleStringAttribute, getVersionFromJsr77, isClassLoaded, jvmAgentStartup, mBeanExists, searchMBeans
public static final String INTERNAL_ERROR_MSG
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 addMBeanServers(Set<MBeanServerConnection> servers)
addMBeanServers
in interface ServerDetector
addMBeanServers
in class AbstractServerDetector
servers
- Copyright © 2021. All rights reserved.