|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VASPProvider
Provides the SBB interface for a MM7 RA acting as a MMS VASP. An implementation of this object is bound into JNDI for use by SBBs. Methods on this interface allow SBBs to initiate new request transactions with a peer Relay Server.
In general, methods on this interface send requests and create a new activity that is used to deliver the corresponding response event. Delivery of events to new activities is deferred until after the current transaction commits; this makes it safe to attach a SBB to the newly created activity in the same transaction without running the chance of missing an event.
Method Summary | |
---|---|
CancelActivity |
sendCancelRequest(java.net.URL rsURL,
MM7Address sender,
java.lang.String cancelID,
CancelRequestParameters params)
Create a new CancelActivity and send a new Submit Request to
the peer RS. |
CancelActivity |
sendCancelRequest(java.net.URL rsURL,
java.lang.String vaspID,
java.lang.String vasID,
MM7Address sender,
java.lang.String cancelID,
CancelRequestParameters params)
Create a new CancelActivity and send a new Submit Request to
the peer RS. |
ExtendedCancelActivity |
sendExtendedCancelRequest(java.net.URL rsURL,
MM7Address sender,
java.lang.String cancelID)
Create a new ExtendedCancelActivity and send a new Extended Cancel Request to
the peer RS. |
ExtendedCancelActivity |
sendExtendedCancelRequest(java.net.URL rsURL,
java.lang.String vaspID,
java.lang.String vasID,
MM7Address sender,
java.lang.String cancelID)
Create a new ExtendedCancelActivity and send a new Extended Cancel Request to
the peer RS. |
ExtendedReplaceActivity |
sendExtendedReplaceRequest(java.net.URL rsURL,
ExtendedReplaceRequestParameters params)
Create a new ExtendedReplaceActivity and send a new Replace Request to
the peer RS. |
ExtendedReplaceActivity |
sendExtendedReplaceRequest(java.net.URL rsURL,
java.lang.String vaspID,
java.lang.String vasID,
ExtendedReplaceRequestParameters params)
Create a new ExtendedReplaceActivity and send a new Replace Request to
the peer RS. |
ReplaceActivity |
sendReplaceRequest(java.net.URL rsURL,
MM7Address sender,
java.lang.String messageID,
ReplaceRequestParameters params)
Create a new ReplaceActivity and send a new Replace Request to
the peer RS. |
ReplaceActivity |
sendReplaceRequest(java.net.URL rsURL,
java.lang.String vaspID,
java.lang.String vasID,
MM7Address sender,
java.lang.String messageID,
ReplaceRequestParameters params)
Create a new ReplaceActivity and send a new Replace Request to
the peer RS. |
SubmitActivity |
sendSubmitRequest(java.net.URL rsURL,
MM7Address sender,
SubmitRequestParameters params)
Create a new SubmitActivity and send a new Submit Request to
the peer RS. |
SubmitActivity |
sendSubmitRequest(java.net.URL rsURL,
java.lang.String vaspID,
java.lang.String vasID,
MM7Address sender,
SubmitRequestParameters params)
Create a new SubmitActivity and send a new Submit Request to
the peer RS. |
Method Detail |
---|
SubmitActivity sendSubmitRequest(java.net.URL rsURL, MM7Address sender, SubmitRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
SubmitActivity
and send a new Submit Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a SubmitResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.sender
- the address of the sender, or null
to use the RA defaultparams
- parameters of the SubmitRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid.
javax.slee.SLEEException
- if the SLEE could not send the request.SubmitActivity sendSubmitRequest(java.net.URL rsURL, java.lang.String vaspID, java.lang.String vasID, MM7Address sender, SubmitRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
SubmitActivity
and send a new Submit Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a SubmitResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.vaspID
- the VASP ID of the VASP, or null
to use the RA defaultvasID
- the VAS ID of the VASP, or null
to use the RA defaultsender
- the address of the sender, or null
to use the RA defaultparams
- parameters of the SubmitRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.CancelActivity sendCancelRequest(java.net.URL rsURL, MM7Address sender, java.lang.String cancelID, CancelRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
CancelActivity
and send a new Submit Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a CancelResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.sender
- the address of the sender, or null
to use the RA defaultcancelID
- the message ID to cancelparams
- parameters of the CancelRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.CancelActivity sendCancelRequest(java.net.URL rsURL, java.lang.String vaspID, java.lang.String vasID, MM7Address sender, java.lang.String cancelID, CancelRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
CancelActivity
and send a new Submit Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a CancelResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.vaspID
- the VASP ID of the VASP, or null
to use the RA defaultvasID
- the VAS ID of the VASP, or null
to use the RA defaultsender
- the address of the sender, or null
to use the RA defaultcancelID
- the message ID to cancelparams
- parameters of the CancelRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.ExtendedCancelActivity sendExtendedCancelRequest(java.net.URL rsURL, MM7Address sender, java.lang.String cancelID) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ExtendedCancelActivity
and send a new Extended Cancel Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a ExtendedCancelResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.sender
- the address of the sender, or null
to use the RA defaultcancelID
- the message ID to cancel
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.ExtendedCancelActivity sendExtendedCancelRequest(java.net.URL rsURL, java.lang.String vaspID, java.lang.String vasID, MM7Address sender, java.lang.String cancelID) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ExtendedCancelActivity
and send a new Extended Cancel Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a ExtendedCancelResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.vaspID
- the VASP ID of the VASP, or null
to use the RA defaultvasID
- the VAS ID of the VASP, or null
to use the RA defaultsender
- the address of the sender, or null
to use the RA defaultcancelID
- the message ID to cancel
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.ReplaceActivity sendReplaceRequest(java.net.URL rsURL, MM7Address sender, java.lang.String messageID, ReplaceRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ReplaceActivity
and send a new Replace Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a ReplaceResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.sender
- the address of the sender, or null
to use the RA defaultmessageID
- the message ID to replaceparams
- parameters of the Replace Request to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.
java.lang.Exception
ReplaceActivity sendReplaceRequest(java.net.URL rsURL, java.lang.String vaspID, java.lang.String vasID, MM7Address sender, java.lang.String messageID, ReplaceRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ReplaceActivity
and send a new Replace Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a ReplaceResponseEvent
on the newly created activity.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.vaspID
- the VASP ID of the VASP, or null
to use the RA defaultvasID
- the VAS ID of the VASP, or null
to use the RA defaultsender
- the address of the sender, or null
to use the RA defaultmessageID
- the message ID to replaceparams
- parameters of the Replace Request to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.ExtendedReplaceActivity sendExtendedReplaceRequest(java.net.URL rsURL, ExtendedReplaceRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ExtendedReplaceActivity
and send a new Replace Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a ExtendedReplaceResponseEvent
on the newly created activity.
Method overrides the VASPID and VASID in params with RA defaults.
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.params
- parameters of the Extended Replace Request to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.
java.lang.Exception
ExtendedReplaceActivity sendExtendedReplaceRequest(java.net.URL rsURL, java.lang.String vaspID, java.lang.String vasID, ExtendedReplaceRequestParameters params) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ExtendedReplaceActivity
and send a new Replace Request to
the peer RS. If no exception is thrown, a response will eventually
appear as a ExtendedReplaceResponseEvent
on the newly created activity.
Method overrides the VASPID and VASID in params with given parameters or RA defaults
(when parameter is null
).
rsURL
- the URL of the peer Relay/Server, eg. http://host:port/path
.vaspID
- the VASP ID of the VASP, or null
to use the RA defaultvasID
- the VAS ID of the VASP, or null
to use the RA defaultparams
- parameters of the Extended Replace Request to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
rsURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |