|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.util.InterceptorsHelper
public class InterceptorsHelper
Helper class for interceptors.
Field Summary | |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger
logger |
Constructor Summary | |
---|---|
InterceptorsHelper()
|
Method Summary | |
---|---|
static void |
addInterceptors(java.lang.String listInterceptorClassName,
java.util.List interceptors)
Add the interceptors className list (used by Joram admin). |
static java.lang.String |
getListInterceptors(java.util.List interceptors)
get the interceptors list. |
static void |
removeInterceptors(java.lang.String listInterceptorClassName,
java.util.List interceptors)
Remove the first occurrence of interceptorClassName. |
static boolean |
replaceInterceptor(java.lang.String newInterceptorClassName,
java.lang.String oldInterceptorClassName,
java.util.List interceptors)
Replace the first occurrence of oldInterceptorClassName by the newInterceptorClassName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
---|
public InterceptorsHelper()
Method Detail |
---|
public static void addInterceptors(java.lang.String listInterceptorClassName, java.util.List interceptors) throws java.lang.Exception
listInterceptorClassName
- list of string className interceptors (separate with INTERCEPTOR_CLASS_NAME_SEPARATOR)interceptors
- the interceptors List.
java.lang.Exception
public static void removeInterceptors(java.lang.String listInterceptorClassName, java.util.List interceptors) throws java.lang.Exception
listInterceptorClassName
- list of string className interceptors (separate by INTERCEPTOR_CLASS_NAME_SEPARATOR)interceptors
- the interceptors List.
java.lang.Exception
public static boolean replaceInterceptor(java.lang.String newInterceptorClassName, java.lang.String oldInterceptorClassName, java.util.List interceptors) throws java.lang.Exception
newInterceptorClassName
- the new className interceptor.oldInterceptorClassName
- the old className interceptor.interceptors
- the interceptors List.
java.lang.Exception
public static java.lang.String getListInterceptors(java.util.List interceptors)
interceptors
- the interceptors List.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |