Package org.jboss.msc.service
Enum ServiceControllerImpl.ListenerNotification
- java.lang.Object
-
- java.lang.Enum<ServiceControllerImpl.ListenerNotification>
-
- org.jboss.msc.service.ServiceControllerImpl.ListenerNotification
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ServiceControllerImpl.ListenerNotification>
- Enclosing class:
- ServiceControllerImpl<S>
private static enum ServiceControllerImpl.ListenerNotification extends java.lang.Enum<ServiceControllerImpl.ListenerNotification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPENDENCY_FAILURE
Notify the listener that a dependency failure occurred.DEPENDENCY_FAILURE_CLEAR
Notify the listener that all dependency failures are cleared.IMMEDIATE_DEPENDENCY_AVAILABLE
Notify the listener that all previously unavailable immediate dependencies are now available.IMMEDIATE_DEPENDENCY_UNAVAILABLE
Notify the listener that an immediate dependency is unavailable.LISTENER_ADDED
Notify the listener that is has been added.REMOVE_REQUEST_CLEARED
Notify the listener that the service is no longer going to be removed.REMOVE_REQUESTED
Notify the listener that the service is going to be removed.TRANSITION
Notifications related to the current state.TRANSITIVE_DEPENDENCY_AVAILABLE
Notify the listener that all previously unavailable transitive dependencies are now available.TRANSITIVE_DEPENDENCY_UNAVAILABLE
Notify the listener a transitive dependency is unavailable.
-
Constructor Summary
Constructors Modifier Constructor Description private
ListenerNotification()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceControllerImpl.ListenerNotification
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServiceControllerImpl.ListenerNotification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LISTENER_ADDED
public static final ServiceControllerImpl.ListenerNotification LISTENER_ADDED
Notify the listener that is has been added.
-
TRANSITION
public static final ServiceControllerImpl.ListenerNotification TRANSITION
Notifications related to the current state.
-
DEPENDENCY_FAILURE
public static final ServiceControllerImpl.ListenerNotification DEPENDENCY_FAILURE
Notify the listener that a dependency failure occurred.
-
DEPENDENCY_FAILURE_CLEAR
public static final ServiceControllerImpl.ListenerNotification DEPENDENCY_FAILURE_CLEAR
Notify the listener that all dependency failures are cleared.
-
IMMEDIATE_DEPENDENCY_UNAVAILABLE
public static final ServiceControllerImpl.ListenerNotification IMMEDIATE_DEPENDENCY_UNAVAILABLE
Notify the listener that an immediate dependency is unavailable.
-
IMMEDIATE_DEPENDENCY_AVAILABLE
public static final ServiceControllerImpl.ListenerNotification IMMEDIATE_DEPENDENCY_AVAILABLE
Notify the listener that all previously unavailable immediate dependencies are now available.
-
TRANSITIVE_DEPENDENCY_UNAVAILABLE
public static final ServiceControllerImpl.ListenerNotification TRANSITIVE_DEPENDENCY_UNAVAILABLE
Notify the listener a transitive dependency is unavailable.
-
TRANSITIVE_DEPENDENCY_AVAILABLE
public static final ServiceControllerImpl.ListenerNotification TRANSITIVE_DEPENDENCY_AVAILABLE
Notify the listener that all previously unavailable transitive dependencies are now available.
-
REMOVE_REQUESTED
public static final ServiceControllerImpl.ListenerNotification REMOVE_REQUESTED
Notify the listener that the service is going to be removed.
-
REMOVE_REQUEST_CLEARED
public static final ServiceControllerImpl.ListenerNotification REMOVE_REQUEST_CLEARED
Notify the listener that the service is no longer going to be removed.
-
-
Method Detail
-
values
public static ServiceControllerImpl.ListenerNotification[] 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 (ServiceControllerImpl.ListenerNotification c : ServiceControllerImpl.ListenerNotification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceControllerImpl.ListenerNotification valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-