|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes all operations that must be implemented to provide a server request interceptor manager.
Overrides must have a constructor with exact signature:
public ServerManager( org.omg.PortableInterceptor.ServerRequestInterceptor [] list, org.openorb.PI.CurrentImpl current)The default implementation can be overriden by setting the openorb.PI.ServerManagerClass property with the classname of the override. To disable server side interception set this property to the empty string.
Each interception point must manage pushes and pops to the PICurrent as each interceptor is called.
It is allowable to call interceptors in different threads, however calls to the request callback must occour in the same thread as the one which called this function.
Method Summary | |
void |
receive_request_service_contexts(ServerRequestInfo info,
RequestCallback cb)
Handles the recieve_request_service_contexts interception point. |
void |
receive_request(ServerRequestInfo info,
RequestCallback cb)
Handles the recieve_request interception point. |
void |
send_exception(ServerRequestInfo info,
RequestCallback cb)
Handles the send_exception interception point. |
void |
send_other(ServerRequestInfo info,
RequestCallback cb)
Handles the send_other interception point. |
void |
send_reply(ServerRequestInfo info,
RequestCallback cb)
Handles the send_reply interception point. |
Method Detail |
public void receive_request_service_contexts(ServerRequestInfo info, RequestCallback cb)
public void receive_request(ServerRequestInfo info, RequestCallback cb)
public void send_reply(ServerRequestInfo info, RequestCallback cb)
public void send_exception(ServerRequestInfo info, RequestCallback cb)
public void send_other(ServerRequestInfo info, RequestCallback cb)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |