public class RPMServiceManagerImpl extends AbstractService implements RPMServiceManager
logger| Constructor and Description |
|---|
RPMServiceManagerImpl(AgentConnectionEstablishedListener... agentConnectionEstablishedListeners) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionListener(ConnectionListener listener) |
protected IRPMService |
createRPMService(java.util.List<java.lang.String> appNames,
ConnectionConfigListener connectionConfigListener,
ConnectionListener connectionListener) |
protected void |
doStart() |
protected void |
doStop() |
IRPMService |
getOrCreateRPMService(PriorityApplicationName appName)
Get the RPM service for the given application name, creating if it does not exist.
|
IRPMService |
getOrCreateRPMService(java.lang.String appName)
Get the RPM service for the given application name, creating if it does not exist.
|
IRPMService |
getRPMService()
Get the default RPM service for the JVM.
|
IRPMService |
getRPMService(java.lang.String appName)
Get the RPM service for the given application name.
|
java.util.List<IRPMService> |
getRPMServices()
Get all the RPM services.
|
boolean |
isEnabled()
Is the service enabled.
|
void |
removeConnectionListener(ConnectionListener listener) |
void |
setConnectionConfigListener(ConnectionConfigListener listener) |
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 RPMServiceManagerImpl(AgentConnectionEstablishedListener... agentConnectionEstablishedListeners)
protected void doStart()
throws java.lang.Exception
doStart in class AbstractServicejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServicejava.lang.Exceptionpublic boolean isEnabled()
Servicepublic void setConnectionConfigListener(ConnectionConfigListener listener)
setConnectionConfigListener in interface RPMServiceManagerpublic void addConnectionListener(ConnectionListener listener)
addConnectionListener in interface RPMServiceManagerpublic void removeConnectionListener(ConnectionListener listener)
removeConnectionListener in interface RPMServiceManagerpublic IRPMService getRPMService()
RPMServiceManagergetRPMService in interface RPMServiceManagerpublic IRPMService getRPMService(java.lang.String appName)
RPMServiceManagergetRPMService in interface RPMServiceManagerappName - the name of the application the RPM service is reporting data for (must be interned)public IRPMService getOrCreateRPMService(PriorityApplicationName appName)
RPMServiceManagergetOrCreateRPMService in interface RPMServiceManagerappName - the name of the application the RPM service is reporting data for (must be interned)public IRPMService getOrCreateRPMService(java.lang.String appName)
RPMServiceManagergetOrCreateRPMService in interface RPMServiceManagerappName - the name of the application the RPM service is reporting data for (must be interned)protected IRPMService createRPMService(java.util.List<java.lang.String> appNames, ConnectionConfigListener connectionConfigListener, ConnectionListener connectionListener)
public java.util.List<IRPMService> getRPMServices()
RPMServiceManagergetRPMServices in interface RPMServiceManager