当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
RMIAdaptorService (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.jmx.adaptor.rmi
Class RMIAdaptorService
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.jmx.adaptor.rmi.RMIAdaptorService
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, RMIAdaptorServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class RMIAdaptorService
- extends org.jboss.system.ServiceMBeanSupport
- implements RMIAdaptorServiceMBean
A JMX RMI Adapter service.
- Version:
- $Revision: 1.5.2.2 $
- Author:
- Rickard 脰berg, Andreas "Mad" Schaefer, Jason Dillon
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
JMX_NAME
public static final String JMX_NAME
- See Also:
- Constant Field Values
PROTOCOL_NAME
public static final String PROTOCOL_NAME
- See Also:
- Constant Field Values
DEFAULT_JNDI_NAME
public static final String DEFAULT_JNDI_NAME
- See Also:
- Constant Field Values
serverAddress
protected String serverAddress
- The address to bind the rmi port on
RMIAdaptorService
public RMIAdaptorService(String name)
RMIAdaptorService
public RMIAdaptorService()
setJndiName
public void setJndiName(String jndiName)
- Specified by:
setJndiName
in interface RMIAdaptorServiceMBean
getJndiName
public String getJndiName()
- Specified by:
getJndiName
in interface RMIAdaptorServiceMBean
getBacklog
public int getBacklog()
- Specified by:
getBacklog
in interface RMIAdaptorServiceMBean
setBacklog
public void setBacklog(int backlog)
- Specified by:
setBacklog
in interface RMIAdaptorServiceMBean
setRMIObjectPort
public void setRMIObjectPort(int rmiPort)
- Specified by:
setRMIObjectPort
in interface RMIAdaptorServiceMBean
getRMIObjectPort
public int getRMIObjectPort()
- Specified by:
getRMIObjectPort
in interface RMIAdaptorServiceMBean
setServerAddress
public void setServerAddress(String address)
- Specified by:
setServerAddress
in interface RMIAdaptorServiceMBean
getServerAddress
public String getServerAddress()
- Specified by:
getServerAddress
in interface RMIAdaptorServiceMBean
getLegacyJndiName
public String getLegacyJndiName()
- Deprecated.
- The legacy hard-coded name. Get rid of this in the future
- Specified by:
getLegacyJndiName
in interface RMIAdaptorServiceMBean
startService
protected void startService()
throws Exception
- Throws:
Exception
stopService
protected void stopService()
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.