org.jboss.mx.remoting.service
Class JMXConnectorServerService
java.lang.Object
org.jboss.mx.remoting.service.JMXConnectorServerService
- All Implemented Interfaces:
- MBeanRegistration, JMXConnectorServerServiceMBean
public class JMXConnectorServerService
- extends Object
- implements JMXConnectorServerServiceMBean
Service mbean for starting the JMX Remoting (JSR-160) connector server.
- Author:
- Tom Elrod, Dimitris Andreadis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JNDI_PATH_DEFAULT
public static final String JNDI_PATH_DEFAULT
- Default jndi path used to specify location of connector server.
Value is '/jmxconnector'.
- See Also:
- Constant Field Values
JMXConnectorServerService
public JMXConnectorServerService()
setRegistryPort
public void setRegistryPort(int registryPort)
- Specified by:
setRegistryPort
in interface JMXConnectorServerServiceMBean
getRegistryPort
public int getRegistryPort()
- Specified by:
getRegistryPort
in interface JMXConnectorServerServiceMBean
setBindAddress
public void setBindAddress(String bindAddress)
throws UnknownHostException
- Specified by:
setBindAddress
in interface JMXConnectorServerServiceMBean
- Throws:
UnknownHostException
getBindAddress
public String getBindAddress()
- Specified by:
getBindAddress
in interface JMXConnectorServerServiceMBean
getJndiPath
public String getJndiPath()
- Specified by:
getJndiPath
in interface JMXConnectorServerServiceMBean
setJndiPath
public void setJndiPath(String jndiPath)
- Specified by:
setJndiPath
in interface JMXConnectorServerServiceMBean
create
public void create()
throws Exception
- Specified by:
create
in interface JMXConnectorServerServiceMBean
- Throws:
Exception
start
public void start()
throws Exception
- Specified by:
start
in interface JMXConnectorServerServiceMBean
- Throws:
Exception
stop
public void stop()
throws IOException
- Specified by:
stop
in interface JMXConnectorServerServiceMBean
- Throws:
IOException
destroy
public void destroy()
- Specified by:
destroy
in interface JMXConnectorServerServiceMBean
preRegister
public ObjectName preRegister(MBeanServer mBeanServer,
ObjectName objectName)
throws Exception
- Specified by:
preRegister
in interface MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean aBoolean)
- Specified by:
postRegister
in interface MBeanRegistration
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister
in interface MBeanRegistration
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface MBeanRegistration
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.