Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » mq » il » [javadoc | source]
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.
Method from org.jboss.mq.il.ClientILService Summary:
getClientIL,   init,   start,   stop
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); }