|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.router.RoutingEvent
Supported API: false
Extendable: false
Field Summary | |
private String |
a_methodName
|
private static String |
CLASSNAME
|
private Serializable[] |
methodArgs
|
private static String |
RESOURCE
|
private ScheduleHistory |
scheduleHistory
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
RoutingEvent(String eventType)
Supported API: false |
|
RoutingEvent(String eventType,
Object eventTarget)
Supported API: false |
|
RoutingEvent(String eventType,
Object eventTarget,
String methodName,
Serializable[] args,
ScheduleHistory history)
Supported API: false |
|
RoutingEvent(String eventType,
WTKeyedMap eventTarget,
String methodName,
ScheduleHistory history)
Supported API: false |
Method Summary | |
Serializable[] |
getMethodArgs()
Gets the value of the attribute: methodArgs. |
WTKeyedMap |
getTargets()
Returns a WTKeyedMap with keys = event target objects and values = Serializable arrays of arguments. |
protected void |
initialize(String methodName,
Serializable[] args,
ScheduleHistory history)
|
void |
setMethodArgs(Serializable[] a_MethodArgs)
Sets the value of the attribute: methodArgs. |
KeyedEvent |
toMultiObjectEvent()
Convert a single object event to a multi-object event with a target that is a WTKeyedMap containing 1 element with keys = target objects and values = Serializable[] of methodArgs and where all entries in the WTKeyedMap have the same methodName and ScheduleHistory values. |
KeyedEvent[] |
toSingleObjectEvents()
Convert a multi-object event with a target that is a WTKeyedMap with keys = target objects and values = Serializable[] of methodArgs and where all entries in the WTKeyedMap have the same methodName and ScheduleHistory values to an array of single object KeyedEvents. |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Serializable[] methodArgs
private ScheduleHistory scheduleHistory
private String a_methodName
Constructor Detail |
public RoutingEvent(String eventType)
eventType
- public RoutingEvent(String eventType, Object eventTarget)
eventType
- eventTarget
- public RoutingEvent(String eventType, Object eventTarget, String methodName, Serializable[] args, ScheduleHistory history)
eventType
- eventTarget
- methodName
- args
- history
- public RoutingEvent(String eventType, WTKeyedMap eventTarget, String methodName, ScheduleHistory history)
eventType
- eventTarget
- methodName
- history
- Method Detail |
public Serializable[] getMethodArgs()
public void setMethodArgs(Serializable[] a_MethodArgs)
a_MethodArgs
- public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
public WTKeyedMap getTargets()
protected void initialize(String methodName, Serializable[] args, ScheduleHistory history) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |