|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The activator is a class that is used
to activate a Link. Using an
Activator, the activation of the Link
is factored out of the Link.
There is a bidirectional relationship
between Link and Activator.
The activator needs to know the link
because it has to activate it.
The link needs to know the activator, because it needs
to propagate changes of its source object
to the activator, that in turn deregisters
and listeners and resource it might hold on the
source.
Note that any Activator should have a
default constructor and should support the
paramtrization methods outlined in this interface
in order to be used with various
convenience methods available in Swlink.
| Method Summary | |
void |
close()
Closes this Activator and releases
all resources. |
java.lang.Object |
getSource()
|
void |
setActivatable(Activatable pActivatable)
Sets the Activatable that this activator will fire. |
void |
setActivatorParam(java.util.Map pParam)
Sets the activator filter params. |
void |
setSource(java.lang.Object pSource)
Sets the activation source. |
| Method Detail |
public java.lang.Object getSource()
Object representing
the source of this Activator.public void setSource(java.lang.Object pSource)
pSource - The activation sourcepublic void setActivatorParam(java.util.Map pParam)
pParam - An Object that paramterizes this Activatorpublic void setActivatable(Activatable pActivatable)
pActivatable - The Activatable to activatepublic void close()
Activator and releases
all resources.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||