|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonicsw.xq.service.xform.TransformationService
public class TransformationService
Constructor Summary | |
---|---|
TransformationService()
Default contructor for the TransformationService. |
Method Summary | |
---|---|
void |
destroy()
Destroys the TransformationService. |
void |
init(XQInitContext initialContext)
Initializes the TransformationService with the init params from its configuration. |
void |
service(XQServiceContext ctx)
Provides the Transformation service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformationService()
Method Detail |
---|
public void init(XQInitContext initialContext)
init
in interface XQService
initialContext
- The init service context (provides logging and parameters access).public void destroy()
destroy
in interface XQService
public void service(XQServiceContext ctx) throws XQServiceException
service
in interface XQService
ctx
- The ServiceContext object which contains the incoming
message within an envelope in its INBOX. If this method is successful,
a clone of the original message with appropriate transformation applied
on it, will be placed in the OUTBOX of the ServiceContext. In case
of a failure, the service throws an Exception and the message gets sent
to the RejectedMessageEndpoint, configured for this service.
XQServiceException
- In the event of some failure.
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |