|
Oracle Communications Services Gatekeeper Java API Reference 5.1 E37525-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
InterceptorManager interface. This interface is responsible for handling the registration, unregistration and invocation of the interceptors.
| Method Summary | |
List |
getInterceptors(InterceptionPoint ip)Returns the list of interceptors available at the given position. |
Map |
getInterceptorsAndIndice(InterceptionPoint ip)Returns the list of interceptors and their indices available at the given position. |
void |
register(Interceptor interceptor, InterceptionPoint ip, int index)Registers an interceptor at a given index and position. |
void |
register(Interceptor interceptor, InterceptionPoint ip, int index, boolean replacementAllowed)Registers an interceptor at a given index and position. |
void |
registerListener(InterceptorManagerListener listener)Register a listener. |
void |
unregister(Interceptor interceptor, InterceptionPoint ip)Unregister an interceptor. |
void |
unregister(int index, InterceptionPoint ip)Unregister an interceptor. |
void |
unregisterListener(InterceptorManagerListener listener)Unregister a listener. |
void |
update()Updates the current interceptors with any changes that have been made since the last call to update(). |
| Method Detail |
public List getInterceptors(InterceptionPoint ip)
ip - The interception point to get the interceptorspublic Map getInterceptorsAndIndice(InterceptionPoint ip)
ip - The interception point to get the interceptors
public void register(Interceptor interceptor,
InterceptionPoint ip,
int index)
interceptor - The interceptor to registerip - The interception point of the request at which the interceptor should be invokedindex - The index where the interceptor will be located in the flow
public void register(Interceptor interceptor,
InterceptionPoint ip,
int index,
boolean replacementAllowed)
interceptor - The interceptor to registerip - interceptor The interceptor to registerindex - The index where the interceptor will be located in the flowreplacementAllowed - If true, it means the interceptor can replace existed one with same indexpublic void registerListener(InterceptorManagerListener listener)
listener - listener
public void unregister(Interceptor interceptor,
InterceptionPoint ip)
interceptor - The interceptor to unregisterip - The interception point of the request at which the interceptor should be invoked
public void unregister(int index,
InterceptionPoint ip)
index - The index of the interceptorip - The interception point of the request at which the interceptor should be invokedpublic void unregisterListener(InterceptorManagerListener listener)
listener - listenerpublic void update()
|
Oracle Communications Services Gatekeeper Java API Reference 5.1 E37525-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||