Class InterceptorRegistry

java.lang.Object
org.somda.sdc.dpws.soap.interception.InterceptorRegistry

public class InterceptorRegistry extends Object
Registry to store and access a set of interceptor objects.
  • Method Details

    • addInterceptor

      public void addInterceptor(Interceptor interceptor)
      Takes an object and seeks interceptor methods.

      Interceptor methods are stored in a registry for fast access. They are retrievable by using

      Parameters:
      interceptor - the object where to search for interceptor methods.
    • getDefaultInterceptors

      public List<org.somda.sdc.dpws.soap.interception.InterceptorInfo> getDefaultInterceptors()
      Gets all default interceptors.
      Returns:
      all interceptors of any direction and action.
    • getDefaultInterceptors

      public List<org.somda.sdc.dpws.soap.interception.InterceptorInfo> getDefaultInterceptors(Direction direction)
      Gets default interceptors of a specific direction.
      Parameters:
      direction - the direction to filter for.
      Returns:
      all interceptors with given direction.
    • getInterceptors

      public List<org.somda.sdc.dpws.soap.interception.InterceptorInfo> getInterceptors(Direction direction, String action)
      Gets default interceptor of a specific direction and action.
      Parameters:
      direction - the direction to filter for.
      action - the action to filter for.
      Returns:
      all interceptors with given direction and action.
    • getInterceptors

      public List<org.somda.sdc.dpws.soap.interception.InterceptorInfo> getInterceptors(String action)
      Gets interceptors of a specific action.
      Parameters:
      action - the action to filter for.
      Returns:
      all interceptors of any direction with given action.