|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.extensions.events.EventType
public class EventType
Represents different types of event. Some event types has been defined
as static members of this class. External applications can create
their own event types and send to registered extensions by
calling Registry.handleEvent(EventType, ExtensionPoint, Extension)
.
Field Summary | |
---|---|
static EventType |
AFTER_REGISTRATION
This event is sent after an extension or extension point has been registered with a registry. |
static EventType |
AFTER_UPDATE
This event is sent during an update of an existing extension point or extension. |
static EventType |
BEFORE_UNREGISTRATION
This event is sent before an extension point or extension is unregistered. |
static EventType |
BEFORE_UPDATE
This event is sent during an update of an existing extension point or extension. |
private String |
name
|
Constructor Summary | |
---|---|
EventType(String name)
Create a new event type. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final EventType AFTER_REGISTRATION
public static final EventType BEFORE_UPDATE
EventHandler.handleEvent(EventType, ExtensionPoint, Extension)
method is the currently registered extension point and extension. This
event will be followed by AFTER_UPDATE
.
public static final EventType AFTER_UPDATE
EventHandler.handleEvent(EventType, ExtensionPoint, Extension)
method is the new extension point and extension. This event is preceeded by
BEFORE_UPDATE
.
public static final EventType BEFORE_UNREGISTRATION
private final String name
Constructor Detail |
---|
public EventType(String name)
name
- A display name to use in the toString()
methodMethod Detail |
---|
public String toString()
toString
in class Object
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |