|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for EventMessages. Use the methods in this class to submit, display, etc. an EventMessage, after manufacturing it by calling the getEventMessage() method 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 submitting an event to the WebLogic Server:
// Create a T3Client T3Client t3 = new T3Client("t3://host:port"); // Manufacture an EventRegistration object for the client EventMessageDef em = t3.services.events() .getEventMessage("STOCKS", params); // Submit the event with methods from this class String confirmation = em.submit();
T3ServicesDef
,
EventServicesDef
Method Summary | |
java.lang.String |
display()
Deprecated. Deprecated in WebLogic Server 6.1. |
java.lang.String |
dump()
Deprecated. Deprecated in WebLogic Server 6.1. |
java.lang.Object |
getObject()
Deprecated. Returns the message body |
ParamSet |
getParameters()
Deprecated. Deprecated in WebLogic Server 6.1. |
EventRegistrationDef |
getRegistration()
Deprecated. Deprecated in WebLogic Server 6.1. |
java.lang.String |
getTopic()
Deprecated. Deprecated in WebLogic Server 6.1. |
boolean |
getTracing()
Deprecated. Deprecated in WebLogic Server 6.1. |
void |
setObject(java.lang.Object body)
Deprecated. |
boolean |
setParameters(ParamSet params)
Deprecated. Deprecated in WebLogic Server 6.1. |
void |
setTracing(boolean enable)
Deprecated. Deprecated in WebLogic Server 6.1. |
java.lang.String |
submit()
Deprecated. Deprecated in WebLogic Server 6.1. |
Method Detail |
public java.lang.String submit() throws EventGenerationException
public java.lang.String dump()
public java.lang.String display()
public ParamSet getParameters()
public boolean setParameters(ParamSet params)
params
- ParamSet associated with Eventpublic void setObject(java.lang.Object body)
public java.lang.Object getObject()
public java.lang.String getTopic()
public EventRegistrationDef getRegistration()
public void setTracing(boolean enable)
enable
- Set to true to turn on tracingpublic boolean getTracing()
|
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 |