de.deepamehta.core.impl
Enum CoreEvent
java.lang.Object
java.lang.Enum<CoreEvent>
de.deepamehta.core.impl.CoreEvent
- All Implemented Interfaces:
- Serializable, Comparable<CoreEvent>
enum CoreEvent
- extends Enum<CoreEvent>
Events fired by the DeepaMehta core service.
Plugins can listen to these events by implementing the respective listener interfaces.
- See Also:
de.deepamehta.core.service.event
PRE_CREATE_TOPIC
public static final CoreEvent PRE_CREATE_TOPIC
PRE_CREATE_ASSOCIATION
public static final CoreEvent PRE_CREATE_ASSOCIATION
POST_CREATE_TOPIC
public static final CoreEvent POST_CREATE_TOPIC
POST_CREATE_ASSOCIATION
public static final CoreEvent POST_CREATE_ASSOCIATION
PRE_UPDATE_TOPIC
public static final CoreEvent PRE_UPDATE_TOPIC
PRE_UPDATE_ASSOCIATION
public static final CoreEvent PRE_UPDATE_ASSOCIATION
POST_UPDATE_TOPIC
public static final CoreEvent POST_UPDATE_TOPIC
POST_UPDATE_ASSOCIATION
public static final CoreEvent POST_UPDATE_ASSOCIATION
PRE_DELETE_ASSOCIATION
public static final CoreEvent PRE_DELETE_ASSOCIATION
POST_DELETE_ASSOCIATION
public static final CoreEvent POST_DELETE_ASSOCIATION
SERVICE_REQUEST_FILTER
public static final CoreEvent SERVICE_REQUEST_FILTER
SERVICE_RESPONSE_FILTER
public static final CoreEvent SERVICE_RESPONSE_FILTER
RESOURCE_REQUEST_FILTER
public static final CoreEvent RESOURCE_REQUEST_FILTER
PRE_SEND_TOPIC
public static final CoreEvent PRE_SEND_TOPIC
PRE_SEND_ASSOCIATION
public static final CoreEvent PRE_SEND_ASSOCIATION
PRE_SEND_TOPIC_TYPE
public static final CoreEvent PRE_SEND_TOPIC_TYPE
PRE_SEND_ASSOCIATION_TYPE
public static final CoreEvent PRE_SEND_ASSOCIATION_TYPE
ALL_PLUGINS_ACTIVE
public static final CoreEvent ALL_PLUGINS_ACTIVE
INTRODUCE_TOPIC_TYPE
public static final CoreEvent INTRODUCE_TOPIC_TYPE
INTRODUCE_ASSOCIATION_TYPE
public static final CoreEvent INTRODUCE_ASSOCIATION_TYPE
events
private static Map<String,CoreEvent> events
listenerInterface
final Class listenerInterface
values
public static CoreEvent[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CoreEvent c : CoreEvent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CoreEvent valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
deliver
abstract void deliver(Listener listener,
Object... params)
fromListenerInterface
static CoreEvent fromListenerInterface(Class listenerInterface)
put
private void put(CoreEvent event)
Copyright © 2013. All Rights Reserved.