Folks
I had a little discution with Steve & Niclas and here is a summary of the Interceptor / Capability discussion
So we have 2 parts
Interceptor components They have to register the container for handling capability They declare capability in .x[something] file
Classical components
They declare for some methods required capabilities
This declaration can be done in block for component or in component impl xinfo file.
At assembly stage, checks are perform to see if requirements can be fullfill.
Example :
Interceptor impl declare capability "transaction" "trace"
Component impl declare requirement "transaction" with param "required" on methods "doSomething*" "trace" with param "debug" on methods "*"
Container will
Intercept the method invocation to the component and wrap it via interceptor impl specifying "transaction" or "trace" capability and passing the parameter "required" or "debug" respectivly.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]