org.jboss.mq.il.rmi
Class RMIServerILService

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.mq.il.ServerILJMXService (src) 
              extended byorg.jboss.mq.il.rmi.RMIServerILService
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class RMIServerILService
extends ServerILJMXService (src)

Implements the ServerILJMXService which is used to manage the JVM IL.


Field Summary
 
Fields inherited from class org.jboss.mq.il.ServerILJMXService (src)
clientID, connectionFactoryJNDIRef, pingPeriod, xaConnectionFactoryJNDIRef
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
RMIServerILService()
           
 
Method Summary
 java.util.Properties getClientConnectionProperties()
          Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) Sets up the connection properties need by a client to use this IL
 java.lang.String getName()
          Gives this JMX service a name.
 ServerIL (src) 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 (src)
bindJNDIReferences, getClientID, getConnectionFactoryJNDIRef, getJBossMQService, getPingPeriod, getXAConnectionFactoryJNDIRef, lookupJMSServer, rebind, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef, unbindJNDIReferences
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
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 (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIServerILService

public RMIServerILService()
Method Detail

getName

public java.lang.String getName()
Gives this JMX service a name.

Specified by:
getName in interface ServiceMBean (src)
Overrides:
getName in class ServiceMBeanSupport (src)
Returns:
The Name value

getServerIL

public ServerIL (src)  getServerIL()
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it)

Specified by:
getServerIL in class ServerILJMXService (src)
Returns:
The ServerIL value

getClientConnectionProperties

public java.util.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 (src)
Returns:
The ClientConnectionProperties value

startService

public void startService()
                  throws java.lang.Exception
Starts this IL, and binds it to JNDI

Overrides:
startService in class ServerILJMXService (src)
Throws:
java.lang.Exception - Description of Exception

stopService

public void stopService()
                 throws java.lang.Exception
Stops this IL, and unbinds it from JNDI

Overrides:
stopService in class ServerILJMXService (src)
Throws:
java.lang.Exception