|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.system.SystemEventManager
public class SystemEventManager
Propagates system-level events for processing by modules and other means.
These events are not the standard tightly-coupled style of java.util.EventObject, but instead a looser, bus-style method. Events are injected into the manager, which then distributes them to each module. It is up to the modules to do anything about the event, generally by running a set of scripts.
You don't generally need to instantiate this class, instead grab the one returned by SystemServices.eventManager().
Copyright 2007 Partner Software, Inc.
| Constructor Summary | |
|---|---|
SystemEventManager()
|
|
| Method Summary | |
|---|---|
void |
fireEvent(java.lang.String sourceModule,
java.lang.String event)
Fires an event with the given source module and event name, with no parameters. |
void |
fireEvent(java.lang.String sourceModule,
java.lang.String event,
Naming<java.lang.Object> variables)
Fires an event with the given source module, event name, and variable parameters. |
void |
fireEvent(java.lang.String sourceModule,
java.lang.String event,
java.lang.Object... variables)
Fires an event with the given source module, event name, and variable parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemEventManager()
| Method Detail |
|---|
public void fireEvent(java.lang.String sourceModule,
java.lang.String event)
public void fireEvent(java.lang.String sourceModule,
java.lang.String event,
Naming<java.lang.Object> variables)
public void fireEvent(java.lang.String sourceModule,
java.lang.String event,
java.lang.Object... variables)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||