Enum Class InterceptionPhase

java.lang.Object
java.lang.Enum<InterceptionPhase>
org.distributeme.core.interceptor.InterceptionPhase
All Implemented Interfaces:
Serializable, Comparable<InterceptionPhase>, Constable

public enum InterceptionPhase extends Enum<InterceptionPhase>
Describes various interception phases during a call.
Version:
$Id: $Id
Author:
lrosenberg
  • Enum Constant Details

    • BEFORE_SERVANT_CALL

      public static final InterceptionPhase BEFORE_SERVANT_CALL
      Before the servant is called by the skeleton on the server side.
    • BEFORE_SERVICE_CALL

      public static final InterceptionPhase BEFORE_SERVICE_CALL
      Before the service is called by the stub on the client side.
    • AFTER_SERVICE_CALL

      public static final InterceptionPhase AFTER_SERVICE_CALL
      After the service is called by the stub on the client side.
    • AFTER_SERVANT_CALL

      public static final InterceptionPhase AFTER_SERVANT_CALL
      After the servant is called by the skeleton on the server side.
  • Method Details

    • values

      public static InterceptionPhase[] 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

      public static InterceptionPhase valueOf(String name)
      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 name
      NullPointerException - if the argument is null