|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for EventRegistrations. Use the methods in this class to register and unregister interest in an event, and to get the ID of an EventRegistration, after manufacturing it by calling getEventRegistration() in weblogic.event.common.EventServicesDef, which defines an event services factory.
Here's an example of how this interface is used in the process of registering interest in an event:
// Create a T3Client T3Client t3 = new T3Client("t3://host:port"); // Manufacture an EventRegistration object for the client EventRegistrationDef er = t3.services.events() .getEventRegistration( "STOCKS", new Evaluate("tutorial.event.stocks.EvaluateStocks", evRegParams), new Action ("tutorial.event.stocks.MailStockInfo", acRegParams)); // Do the registration with methods from the object's class int regid = er.register();
T3ServicesDef
,
EventServicesDef
Field Summary | |
static int |
ON_DISCONNECT
Deprecated. Constant for use with the "count" flag in an EventRegistration. |
static int |
UNCOUNTED
Deprecated. Constant for use with the "count" flag in an EventRegistration. |
Method Summary | |
int |
getID()
Deprecated. Deprecated in WebLogic Server 6.1. |
int |
register()
Deprecated. Deprecated in WebLogic Server 6.1. |
boolean |
unregister()
Deprecated. Deprecated in WebLogic Server 6.1. |
Field Detail |
public static final int UNCOUNTED
public static final int ON_DISCONNECT
Method Detail |
public int register() throws EventRegistrationException
public boolean unregister() throws EventRegistrationException
public int getID()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |