org.jboss.mq.il.rmi
public class: RMIServerILService [javadoc |
source]
java.lang.Object
org.jboss.mq.il.ServerILJMXService
org.jboss.mq.il.rmi.RMIServerILService
All Implemented Interfaces:
RMIServerILServiceMBean
Implements the ServerILJMXService which is used to manage the JVM IL.
- author:
Hiram - Chirino (Cojonudo14@hotmail.com)
- version:
$ - Revision: 37459 $
- jmx:mbean:
extends - ="org.jboss.mq.il.ServerILJMXServiceMBean"
| Field Summary |
|---|
| RMIServerIL | serverIL | |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.jboss.mq.il.rmi.RMIServerILService Detail: |
public Properties getClientConnectionProperties() {
Properties rc = super.getClientConnectionProperties();
rc.setProperty(ServerILFactory.CLIENT_IL_SERVICE_KEY, "org.jboss.mq.il.rmi.RMIClientILService");
return rc;
}
Used to construct the GenericConnectionFactory (bindJNDIReferences()
builds it) Sets up the connection properties need by a client to use this
IL |
public String getName() {
return "JBossMQ-JVMServerIL";
}
Gives this JMX service a name. |
public ServerIL getServerIL() {
return serverIL;
}
Used to construct the GenericConnectionFactory (bindJNDIReferences()
builds it) |
public void startService() throws Exception {
super.startService();
serverIL = new RMIServerIL(getJMSServer());
bindJNDIReferences();
}
Starts this IL, and binds it to JNDI |
public void stopService() throws Exception {
try
{
unbindJNDIReferences();
}
catch (Exception e)
{
e.printStackTrace();
}
super.stopService();
serverIL = null;
}
Stops this IL, and unbinds it from JNDI |