Enum ServiceActualState

    • Enum Constant Detail

      • inactive

        public static final ServiceActualState inactive

        Service actual state representing a service that has not been activated.

        Equivalent JAIN SLEE-defined state: ServiceState.INACTIVE.

        Since:
        Rhino 3.0.0
      • activating

        public static final ServiceActualState activating

        Service actual state representing a service that is currently being activated. This is a transient state that will spontaneously transition to another state once activation tasks have completed.

        Equivalent JAIN SLEE-defined state: ServiceState.INACTIVE.

        Since:
        Rhino 3.0.0
      • active

        public static final ServiceActualState active

        Service actual state representing a service that has been successfully activated.

        Equivalent JAIN SLEE-defined state: ServiceState.ACTIVE.

        Since:
        Rhino 3.0.0
      • stopping

        public static final ServiceActualState stopping

        Service actual state representing a service that has been deactivated and is currently completing processing of remaining activities and events. This is a transient state that will spontaneously transition to inactive once no SBB entities of the service remain.

        Equivalent JAIN SLEE-defined state: ServiceState.STOPPING.

        Since:
        Rhino 3.0.0
      • failed

        public static final ServiceActualState failed

        Service actual state representing a service that failed to activate successfully. For example, resource adaptor entity link name bindings were not satisfied, an SBB threw an exception from the RhinoSbbLocalHome.verifyConfiguration() method, etc.

        Equivalent JAIN SLEE-defined state: ServiceState.INACTIVE.

        Since:
        Rhino 3.0.0
      • unlicensed

        public static final ServiceActualState unlicensed

        Service actual state representing a service that could not be activated due to a missing valid license.

        Equivalent JAIN SLEE-defined state: ServiceState.INACTIVE.

        Since:
        Rhino 3.0.0
    • Method Detail

      • values

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

        public static ServiceActualState 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
      • getJSleeState

        public ServiceState getJSleeState()

        Get the equivalent JAIN SLEE-defined state for this actual state value.

        Returns:
        the equivalent JAIN SLEE-defined state.