Package com.tangosol.net.events
Enum 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>
- Enclosing interface:
- EventDispatcher.InterceptorRegistrationEvent<E extends Event<? extends Enum>>
public static enum EventDispatcher.InterceptorRegistrationEvent.Type extends Enum<EventDispatcher.InterceptorRegistrationEvent.Type>
The InterceptorRegistrationEvent types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSERTED
An INSERTED event is raised after theEventInterceptor
was successfully registered with theEventDispatcher
.INSERTING
An INSERTING event is raised prior to theEventInterceptor
being registered with theEventDispatcher
.REMOVED
A REMOVED event is raised after theEventInterceptor
was successfully removed from theEventDispatcher
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventDispatcher.InterceptorRegistrationEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventDispatcher.InterceptorRegistrationEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERTING
public static final EventDispatcher.InterceptorRegistrationEvent.Type 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
public static final EventDispatcher.InterceptorRegistrationEvent.Type 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
public static final EventDispatcher.InterceptorRegistrationEvent.Type 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 Detail
-
values
public static EventDispatcher.InterceptorRegistrationEvent.Type[] 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 (EventDispatcher.InterceptorRegistrationEvent.Type c : EventDispatcher.InterceptorRegistrationEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventDispatcher.InterceptorRegistrationEvent.Type 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 nameNullPointerException
- if the argument is null
-
-