|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterceptorStack
Used when constructing an interceptor stack around a service implementation instance.
Method Summary | |
---|---|
java.lang.String |
getServiceExtensionPointId()
Return the full id of the service extension point for which interceptors are being fabricated. |
java.lang.Class |
getServiceInterface()
Returns the interface for the service; the same as ServicePoint.getServiceInterface() . |
org.apache.commons.logging.Log |
getServiceLog()
Returns the Log instance that should be used to log any information about the service, or the construction of the service. |
Module |
getServiceModule()
Returns the module which contains the service extension point. |
java.lang.Object |
peek()
Returns the current top object on the stack. |
void |
push(java.lang.Object interceptor)
Pushes a new instance onto the stack. |
Method Detail |
---|
java.lang.String getServiceExtensionPointId()
Module getServiceModule()
java.lang.Class getServiceInterface()
ServicePoint.getServiceInterface()
.
java.lang.Object peek()
void push(java.lang.Object interceptor)
peek()
, and should
implement the service extension point's interface.
The stack checks that the interceptor is not null, and that the interceptor implements the service interface.
org.apache.commons.logging.Log getServiceLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |