org.apache.beehive.controls.runtime.bean
Class InterceptorUtils

Object
  extended by InterceptorUtils

public final class InterceptorUtils
extends Object

Class used to support prioritizing interceptors on methods of a ControlBean.


Field Summary
static String INTERCEPTOR_CONFIG_FILE
          Filename that contains ordering priority for controls interceptor services.
 
Method Summary
static String[] prioritizeInterceptors(String[] interceptors)
          Applies externally defined (via INTERCEPTOR_CONFIG_FILE) ordering priority for controls interceptor services.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERCEPTOR_CONFIG_FILE

public static final String INTERCEPTOR_CONFIG_FILE
Filename that contains ordering priority for controls interceptor services. Each line in the file is a fully qualified interface name. The first line in the file is highest priority.

See Also:
Constant Field Values
Method Detail

prioritizeInterceptors

public static String[] prioritizeInterceptors(String[] interceptors)
Applies externally defined (via INTERCEPTOR_CONFIG_FILE) ordering priority for controls interceptor services.

Parameters:
interceptors -
Returns:
String[]