|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceInterceptorFactory
Interface defining an interceptor factory, an object that can create an interceptor. Interceptors are objects that implement a particular interface, adding logic before or after invoking methods on a wrapped object (implementing the same instance).
Implementations must be stateless and multi-threaded. An interceptor may only be applied once to any single service. The factory will only be invoked once for any single service (even in the case of non-standard service models such as threaded and pooled).
Method Summary | |
---|---|
void |
createInterceptor(InterceptorStack stack,
Module invokingModule,
java.util.List parameters)
Creates an interceptor and pushes it onto the interceptor stack. |
Method Detail |
---|
void createInterceptor(InterceptorStack stack, Module invokingModule, java.util.List parameters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |