|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
gate.event.GateEvent
gate.event.CreoleEvent
Events related to the gate.creole
package. This kind of events will
be fired when resources are loaded or unloaded in the Gate system.
Field Summary | |
static int |
DATASTORE_CLOSED
Event type that mark the closing of a datastore |
static int |
DATASTORE_CREATED
Event type that marks the creation of a new datastore |
static int |
DATASTORE_OPENED
Event type that mark the opening of a datastore |
static int |
RESOURCE_LOADED
Event type that marks the loading of a new resource into the Gate system |
static int |
RESOURCE_UNLOADED
Event type that marks the unloading of a resource from the Gate system |
Fields inherited from class gate.event.GateEvent |
FEATURES_UPDATED |
Constructor Summary | |
CreoleEvent(DataStore datastore,
int type)
Constructor |
|
CreoleEvent(Resource res,
int type)
Constructor |
Method Summary | |
DataStore |
getDatastore()
Gets the DataStore that has been created/loaded/closed. |
Resource |
getResource()
Gets the resource that has been (un)loaded. |
Methods inherited from class gate.event.GateEvent |
getType |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int RESOURCE_LOADED
public static final int RESOURCE_UNLOADED
public static final int DATASTORE_CREATED
public static final int DATASTORE_OPENED
public static final int DATASTORE_CLOSED
Constructor Detail |
public CreoleEvent(Resource res, int type)
res
- the Resource
that has been (un)loadedtype
- the type of the eventpublic CreoleEvent(DataStore datastore, int type)
datastore
- the DataStore
that has been
created/loaded/closed.type
- the type of the eventMethod Detail |
public Resource getResource()
public DataStore getDatastore()
DataStore
that has been created/loaded/closed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |