|
|||||||||
| Home >> All >> org >> apache >> [ hivemind overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.hivemind
Interface InterceptorStack

- 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()> ServicePoint.getServiceInterface() 55 . |
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. |
org.apache.hivemind.internal.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 |
getServiceExtensionPointId
public java.lang.String getServiceExtensionPointId()
- Return the full id of the service extension point for which
interceptors are being fabricated.
getServiceModule
public org.apache.hivemind.internal.Module getServiceModule()
- Returns the module which contains the service extension point.
getServiceInterface
public java.lang.Class getServiceInterface()
- Returns the interface for the service; the same
as ServicePoint.getServiceInterface()>
ServicePoint.getServiceInterface()55 .
peek
public java.lang.Object peek()
- Returns the current top object on the stack.
push
public void push(java.lang.Object interceptor)
- Pushes a new instance onto the stack. The new instance
should be a wrapper around
peek()55 , 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.
getServiceLog
public 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.
|
|||||||||
| Home >> All >> org >> apache >> [ hivemind overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC