org.ow2.jonas.jmx.internal
Class JOnASJMXService
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.service.AbsServiceImpl
org.ow2.jonas.jmx.internal.BaseJMXService
org.ow2.jonas.jmx.internal.JOnASJMXService
- All Implemented Interfaces:
- NotificationBroadcaster, NotificationEmitter, JmxService, Service
public class JOnASJMXService
- extends BaseJMXService
JMX Service implementation. Provides specific doStart() and doStop()
methods to start /stop JOnAS JMX Service.
- Author:
- Adriana Danes, S. Ali Tokmen
Methods inherited from class org.ow2.jonas.jmx.internal.BaseJMXService |
findManagedBean, getJmxServer, getJmxServerConnection, getLogger, getObjectName, loadDescriptors, registerMBean, registerMBean, registerMBean, registerModelMBean, registerModelMBean, registerModelMBean, setMBeanServer, setMBeanServerID, unregisterMBean, unregisterMBean, unregisterModelMBean |
Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl |
convertToList, doInit, getDomainName, getJonasServerName, getName, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString |
JOnASJMXService
public JOnASJMXService()
doStart
public void doStart()
throws ServiceException
- Start the Service. Only need to create a RMI connector
- Overrides:
doStart
in class BaseJMXService
- Throws:
ServiceException
- the service could not be started
doStop
public void doStop()
- Stop this service.
- Overrides:
doStop
in class BaseJMXService
getConnectorServerURLs
public JMXServiceURL[] getConnectorServerURLs()
- Returns:
- The actual adresses on which listen the created connector servers
setRegistryService
public void setRegistryService(RegistryService registryService)
- Parameters:
registryService
- the registryService to set
getNamingManager
public JNamingManager getNamingManager()
- Returns:
- the naming manager reference
setNamingManager
public void setNamingManager(JNamingManager namingManager)
- Parameters:
namingManager
- the namingManager to set
setJmxSecured
public void setJmxSecured(boolean jmxSecured)
- Parameters:
jmxSecured
- Whether the JMX server is secured.
setAuthenticationMethod
public void setAuthenticationMethod(String authenticationMethod)
- Parameters:
authenticationMethod
- Authentication method used when JMX server
secured.
setAuthenticationParameter
public void setAuthenticationParameter(String authenticationParameter)
- Parameters:
authenticationParameter
- Authentication method's parameter used
when JMX server secured.
setAuthorizationMethod
public void setAuthorizationMethod(String authorizationMethod)
- Parameters:
authorizationMethod
- Authorization method used when JMX server
secured.
setAuthorizationParameter
public void setAuthorizationParameter(String authorizationParameter)
- Parameters:
authorizationParameter
- Authorization method's parameter used
when JMX server secured.
Copyright © 2010 OW2 Consortium. All Rights Reserved.