|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bea.jolt.beans.JoltUserEventBean
The JoltUserEventBean provides access to Tuxedo events. The Tuxedo event to be subscribed to is defined by setting the appropriate parameters of this bean. Methods for starting and stopping the subscription are provided.
Constructor Summary | |
JoltUserEventBean()
Constructor |
Method Summary | |
java.lang.String |
getEventName()
Get the regular expression this bean represents. |
java.lang.String |
getFilter()
Get the event filter. |
JoltSessionBean |
getSession()
Get the JoltSessionBean object used by this JoltUserEventBean |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Event handler for PropertyChange events. |
void |
setEventName(java.lang.String name)
Set the regular expression of the user event this bean represents. |
void |
setFilter(java.lang.String filter)
Set the event filter. |
void |
setSession(JoltSessionBean value)
This method is used in cases when the JoltUserEventBean is created after the logon event. |
void |
subscribe()
Subscribe |
void |
unsubscribe()
Unsubscribe |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JoltUserEventBean()
Method Detail |
public void propertyChange(java.beans.PropertyChangeEvent evt)
Note: A logoff of a session other than the current session will not affect the JoltUserEventBean, but a logon of a session other than the current session will change the session.
propertyChange
in interface java.beans.PropertyChangeListener
evt
- The event object.public void setEventName(java.lang.String name)
name
- The regular expression of the user event, the equivalent
of the "expr" parameter of TPSUBSCRIBE.public java.lang.String getEventName()
public void setFilter(java.lang.String filter)
filter
- The event filter.public java.lang.String getFilter()
public void setSession(JoltSessionBean value)
value
- The JoltSessionBean.public JoltSessionBean getSession()
public void unsubscribe() throws EventException, SessionException, JoltException
EventException
SessionException
JoltException
public void subscribe() throws EventException, SessionException, JoltException
EventException
SessionException
JoltException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |