|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQService
XQService
provides the basic interface between the SonicXQ
framework and a service. It must be implemented by all services that are
deployed in SonicXQ.
Method Summary | |
---|---|
void |
destroy()
Called by the SonicXQ framework when the service is no longer needed. |
void |
init(XQInitContext initial)
Called by the SonicXQ framework during initialization of this service. |
void |
service(XQServiceContext context)
Called by the SonicXQ framework to invoke the service when a message is sent to the service. |
Method Detail |
---|
void init(XQInitContext initial) throws XQServiceException
initial
- an XQInitContext
from which the
service can obtain any necessary initialization information
XQServiceException
- if an error is encountered during
initializationvoid service(XQServiceContext context) throws XQServiceException
context
- an XQServiceContext
from which the service
can obtain the operating context (including the sent message)
XQServiceException
- if an error is encountered during
message processingvoid destroy()
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |