|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.severe.jripples.modules.manager.ModuleSwitchEvent
public class ModuleSwitchEvent
This class represents an event of activation and / or deactivation of JRipples modules. If
both getNewLoader()
and getOldLoader()
are set, then an old loader was
replaced by a new loader as they both share the same category of JRipples modules.
ModuleProxy
,
ModuleSwitchEvent
Method Summary | |
---|---|
int |
getControllerType()
Returns a role of a controller, which triggered this event, so that clients registered for receiving this kind of event can process the event more appropriately. |
JRipplesModuleLoader |
getNewLoader()
Returns a module that was activated in this event. |
JRipplesModuleLoader |
getOldLoader()
Returns a module that was deactivated in this event. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getControllerType()
public JRipplesModuleLoader getNewLoader()
null
otherwisepublic JRipplesModuleLoader getOldLoader()
ModuleProxy
or
as a result of activation of another module in the
same category of modules.
null
otherwisegetNewLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |