|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-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 | |
abstract java.util.List |
getInterceptors(InterceptionPoint ip)
Returns the list of interceptors available at the given position. |
abstract java.util.Map |
getInterceptorsAndIndice(InterceptionPoint ip)
Returns the list of interceptors and their indices available at the given position. |
abstract void |
register(Interceptor interceptor,
InterceptionPoint ip,
int index)
Registers an interceptor at a given index and position. |
abstract void |
register(Interceptor interceptor,
InterceptionPoint ip,
int index,
boolean replacementAllowed)
Registers an interceptor at a given index and position. |
abstract void |
registerListener(InterceptorManagerListener listener)
Register a listener. |
abstract void |
unregister(Interceptor interceptor,
InterceptionPoint ip)
Unregister an interceptor. |
abstract void |
unregister(int index,
InterceptionPoint ip)
Unregister an interceptor. |
abstract void |
unregisterListener(InterceptorManagerListener listener)
Unregister a listener. |
abstract void |
update()
Updates the current interceptors with any changes that have been made since the last call to update(). |
Method Detail |
public java.util.List getInterceptors(InterceptionPoint ip)
ip
- The interception point to get the interceptors.
public java.util.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 register.ip
- The interception point of the request at which the interceptor should be invoked.index
- 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 register.ip
- interceptor The interceptor to register.index
- The index where the interceptor will be located in the flow.replacementAllowed
- If true, it means the interceptor can replace existed one with same index.public void registerListener(InterceptorManagerListener listener)
listener
- listener.public void unregister(Interceptor interceptor, InterceptionPoint ip)
interceptor
- The interceptor to unregister.ip
- 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 interceptor.ip
- The interception point of the request at which the interceptor should be invoked.public void unregisterListener(InterceptorManagerListener listener)
listener
- listener.public void update()
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |