|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic interface to be implemented by all interceptors (PIPs and PDPs) in a chain.
Method Summary | |
void |
close()
this method is called by the PDP framework to indicate that the interceptor now should remove all state that was allocated in the initialize call. |
void |
initialize(ChainConfig config,
java.lang.String name,
java.lang.String id)
initializes the interceptor with configuration information that are valid up until the point when close is called. |
Method Detail |
public void initialize(ChainConfig config, java.lang.String name, java.lang.String id) throws InitializeException
config
- holding interceptor specific configuration values, that
may be obtained using the name paramtername
- the name that should be used to access all the interceptor
local configurationid
- the id in common for all interceptors in a chain (it is valid
up until close is called)
if close is not called the interceptor may assume that the id
still exists after a process restart
InitializeException
- if an exception occured during
initializationpublic void close() throws CloseException
CloseException
- if an error occured while closing this
interceptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |