站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

OIL2ClientILService (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq.il.oil2
Class OIL2ClientILService

java.lang.Object
  extended byorg.jboss.mq.il.oil2.OIL2ClientILService
All Implemented Interfaces:
ClientILService, OIL2RequestListner

public final class OIL2ClientILService
extends Object
implements ClientILService, OIL2RequestListner

The OIL2 implementation of the ClientILService object

Version:
$Revision: $
Author:
Hiram Chirino

Constructor Summary
OIL2ClientILService()
           
 
Method Summary
 ClientIL getClientIL()
          getClientIL method comment.
 void handleConnectionException(Exception e)
           
 void handleRequest(OIL2Request request)
           
 void init(Connection connection, Properties props)
          init method comment.
 void start()
          start method comment.
 void stop()
          Once stopped, the ClientIL instance stop processing all server requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OIL2ClientILService

public OIL2ClientILService()
Method Detail

getClientIL

public ClientIL getClientIL()
                     throws Exception
getClientIL method comment.

Specified by:
getClientIL in interface ClientILService
Returns:
The ClientIL value
Throws:
Exception - Description of Exception

init

public void init(Connection connection,
                 Properties props)
          throws Exception
init method comment.

Specified by:
init in interface ClientILService
Parameters:
connection - Description of Parameter
props - Description of Parameter
Throws:
Exception - Description of Exception

start

public void start()
           throws Exception
start method comment.

Specified by:
start in interface ClientILService
Throws:
Exception - Description of Exception

stop

public void stop()
          throws Exception
Description copied from interface: ClientILService
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); }

Specified by:
stop in interface ClientILService
Throws:
Exception - Description of Exception

handleConnectionException

public void handleConnectionException(Exception e)
Specified by:
handleConnectionException in interface OIL2RequestListner

handleRequest

public void handleRequest(OIL2Request request)
Specified by:
handleRequest in interface OIL2RequestListner


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.