|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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() . |
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 |
public java.lang.String getServiceExtensionPointId()
public Module getServiceModule()
public java.lang.Class getServiceInterface()
ServicePoint#getServiceInterface()
.
public java.lang.Object peek()
public 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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |