org.jboss.mq.il
public interface: ClientILService [javadoc |
source]
All Known Implementing Classes:
OILClientILService, RMIClientILService, JVMClientILService, HAClientILService, UILClientILService, UILClientILService, HTTPClientILService, OIL2ClientILService
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)
- created:
August - 16, 2001
- version:
$ - Revision: 37459 $
| Method from org.jboss.mq.il.ClientILService Detail: |
public ClientIL getClientIL() throws Exception
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. |
public void init(Connection connection,
Properties props) throws Exception
After construction, the ClientILService is initialized with a reference
to the Connection object and the connection properties. |
public void start() throws Exception
Once started, the ClientIL instance should process all server requests. |
public void stop() throws Exception
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); } |