Enum ServiceEvent.ServiceEventType

    • Enum Constant Detail

      • SERVICE_INSTALLED

        public static final ServiceEvent.ServiceEventType SERVICE_INSTALLED
        fired by the service when it is installed into the container
      • DEPENDENCIES_AVAILABLE

        public static final ServiceEvent.ServiceEventType DEPENDENCIES_AVAILABLE
        Fired by the container when all of a service's dependencies are available. If the service has at least one dependency, it means that this dependency has started. If the service has no dependencies, the event is fired immediately, after the service is installed.
      • DEPENDENCIES_UNAVAILABLE

        public static final ServiceEvent.ServiceEventType DEPENDENCIES_UNAVAILABLE
        Fired by the container when a service's dependencies are about to become unavailable
      • DEPENDENTS_STOPPED

        public static final ServiceEvent.ServiceEventType DEPENDENTS_STOPPED
        FIRED by the container when a service's dependencies have stopped
    • Method Detail

      • values

        public static ServiceEvent.ServiceEventType[] 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 (ServiceEvent.ServiceEventType c : ServiceEvent.ServiceEventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceEvent.ServiceEventType 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