当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
RMIServerILService (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
org.jboss.mq.il.rmi
Class RMIServerILService
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.mq.il.ServerILJMXService
org.jboss.mq.il.rmi.RMIServerILService
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, RMIServerILServiceMBean, ServerILJMXServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class RMIServerILService
- extends ServerILJMXService
- implements RMIServerILServiceMBean
Implements the ServerILJMXService which is used to manage the JVM IL.
- Version:
- $Revision: 1.16 $
- Author:
- Hiram Chirino (Cojonudo14@hotmail.com)
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 |
Method Summary |
Properties |
getClientConnectionProperties()
Used to construct the GenericConnectionFactory (bindJNDIReferences()
builds it) Sets up the connection properties need by a client to use this
IL |
String |
getName()
Gives this JMX service a name. |
ServerIL |
getServerIL()
Used to construct the GenericConnectionFactory (bindJNDIReferences()
builds it) |
void |
startService()
Starts this IL, and binds it to JNDI |
void |
stopService()
Stops this IL, and unbinds it from JNDI |
Methods inherited from class org.jboss.mq.il.ServerILJMXService |
bindJNDIReferences, getClientID, getConnectionFactoryJNDIRef, getJBossMQService, getPingPeriod, getXAConnectionFactoryJNDIRef, lookupJMSServer, rebind, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef, unbindJNDIReferences |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, 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 |
getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
RMIServerILService
public RMIServerILService()
getName
public String getName()
- Gives this JMX service a name.
- Specified by:
getName
in interface org.jboss.system.ServiceMBean
- Returns:
- The Name value
getServerIL
public ServerIL getServerIL()
- Used to construct the GenericConnectionFactory (bindJNDIReferences()
builds it)
- Specified by:
getServerIL
in class ServerILJMXService
- Returns:
- The ServerIL value
getClientConnectionProperties
public Properties getClientConnectionProperties()
- Used to construct the GenericConnectionFactory (bindJNDIReferences()
builds it) Sets up the connection properties need by a client to use this
IL
- Overrides:
getClientConnectionProperties
in class ServerILJMXService
- Returns:
- The ClientConnectionProperties value
startService
public void startService()
throws Exception
- Starts this IL, and binds it to JNDI
- Overrides:
startService
in class ServerILJMXService
- Throws:
Exception
- Description of Exception
stopService
public void stopService()
throws Exception
- Stops this IL, and unbinds it from JNDI
- Overrides:
stopService
in class ServerILJMXService
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.