public interface InterceptorStack
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()