Package com.tangosol.net.events
Enum Class EventDispatcher.InterceptorRegistrationEvent.Type
java.lang.Object
java.lang.Enum<EventDispatcher.InterceptorRegistrationEvent.Type>
com.tangosol.net.events.EventDispatcher.InterceptorRegistrationEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<EventDispatcher.InterceptorRegistrationEvent.Type>
,Constable
- Enclosing interface:
EventDispatcher.InterceptorRegistrationEvent<E extends Event<? extends Enum>>
public static enum EventDispatcher.InterceptorRegistrationEvent.Type
extends Enum<EventDispatcher.InterceptorRegistrationEvent.Type>
The InterceptorRegistrationEvent types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn INSERTED event is raised after theEventInterceptor
was successfully registered with theEventDispatcher
.An INSERTING event is raised prior to theEventInterceptor
being registered with theEventDispatcher
.A REMOVED event is raised after theEventInterceptor
was successfully removed from theEventDispatcher
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERTING
An INSERTING event is raised prior to theEventInterceptor
being registered with theEventDispatcher
. This event provides an opportunity for an EventInterceptor to veto the registration or change the EventInterceptor that is ultimately registered with the EventDispatcher. -
INSERTED
An INSERTED event is raised after theEventInterceptor
was successfully registered with theEventDispatcher
. This is a post event thus the registration can not be veto'd nor cansetInterceptor
be invoked. -
REMOVED
A REMOVED event is raised after theEventInterceptor
was successfully removed from theEventDispatcher
. This is a post event thus the unregistration can not be veto'd nor cansetInterceptor
be invoked.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-