| org.jboss.mq.il.ClientILService
All known Subclasses: org.jboss.mq.il.http.HTTPClientILService, org.jboss.mq.il.uil2.UILClientILService, org.jboss.mq.il.jvm.JVMClientILService, org.jboss.mq.il.oil2.OIL2ClientILService, org.jboss.mq.il.oil.OILClientILService, org.jboss.mq.il.rmi.RMIClientILService,
ClientILService | public interface ClientILService (Code) | | This class manages the lifecycle of an instance of the ClientIL
Implementations of this class should have a default constructor.
author: Hiram Chirino (Cojonudo14@hotmail.com) version: $Revision: 57198 $ |
Method Summary | |
public ClientIL | getClientIL() After initialization, this method may be called to obtain a reference to
a ClientIL object. | public void | init(Connection connection, java.util.Properties props) After construction, the ClientILService is initialized with a reference
to the Connection object and the connection properties. | public void | start() Once started, the ClientIL instance should process all server requests. | public void | stop() Once stopped, the ClientIL instance stop processing all server requests. |
getClientIL | public ClientIL getClientIL() throws Exception(Code) | | After initialization, this method may be called to obtain a reference to
a ClientIL object. This object will eventually be serialized and sent to
the server so that he can invoke methods on connection it was initialized
with.
The ClientIL value exception: Exception - Description of Exception |
init | public void init(Connection connection, java.util.Properties props) throws Exception(Code) | | After construction, the ClientILService is initialized with a reference
to the Connection object and the connection properties.
Parameters: connection - Description of Parameter Parameters: props - Description of Parameter exception: Exception - Description of Exception |
start | public void start() throws Exception(Code) | | Once started, the ClientIL instance should process all server requests.
exception: Exception - Description of Exception |
stop | public void stop() throws Exception(Code) | | Once stopped, the ClientIL instance stop processing all server requests.
if( cr_server != null ) cr_server.close(); if (cr!=null && cr instanceof
java.rmi.Remote) { java.rmi.server.UnicastRemoteObject.unexportObject((java.rmi.Remote)cr,
true); }
exception: Exception - Description of Exception |
|
|