|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Routing interface encapsulates a service which manages routing for requests.
Filters may use this service to select the target service and port.
Field Summary | |
static java.lang.String |
copyright
Copyright string. |
static java.lang.String |
JNDI_NAME
The JNDI location at which the Annotation service is to be found. |
Method Summary | |
com.ibm.wsgw.config.TargetServiceLocation |
getSelectedTargetServiceLocation(org.apache.wsif.WSIFRequest request)
Returns the currently selected target service for the request. |
java.lang.String |
getTargetPortName(org.apache.wsif.WSIFRequest request)
Returns the currently selected target port name for the request. |
javax.wsdl.Definition |
getTargetServiceDefinition(org.apache.wsif.WSIFRequest request,
com.ibm.wsgw.config.TargetServiceLocation targetServiceLocation)
Returns the WSDL definition for the target service. |
java.util.Hashtable |
getTargetServices(org.apache.wsif.WSIFRequest request)
Returns the target services which are mapped by the gateway service on which the request was received. |
org.apache.wsif.WSIFRequest |
setSelectedTargetServiceIdentity(org.apache.wsif.WSIFRequest request,
java.lang.String targetServiceIdentity)
Sets the selected target service for the request. |
org.apache.wsif.WSIFRequest |
setSelectedTargetServiceLocation(org.apache.wsif.WSIFRequest request,
com.ibm.wsgw.config.TargetServiceLocation targetServiceLocation)
Sets the selected target service for the request. |
org.apache.wsif.WSIFRequest |
setTargetPortName(org.apache.wsif.WSIFRequest request,
java.lang.String portName)
Sets the currently selected target port name for the request. |
Field Detail |
public static final java.lang.String copyright
public static final java.lang.String JNDI_NAME
Method Detail |
public java.util.Hashtable getTargetServices(org.apache.wsif.WSIFRequest request) throws WSGWException, java.rmi.RemoteException
The table which is returned contains the target service WSDL location strings as keys, and the target service identity information strings as the values.
request
- The request.WSGWException
- An error occurred.java.rmi.RemoteException
- Required for EJB remote interfaces.public org.apache.wsif.WSIFRequest setSelectedTargetServiceLocation(org.apache.wsif.WSIFRequest request, com.ibm.wsgw.config.TargetServiceLocation targetServiceLocation) throws WSGWException, java.rmi.RemoteException
The target service is identified by the location string for its WSDL definition.
The selected port name if any is reset by this call.
request
- The request.targetServiceLocation
- The selected target service WSDL location.WSGWException
- The target service location is not valid.java.rmi.RemoteException
- Required for EJB remote interfaces.public org.apache.wsif.WSIFRequest setSelectedTargetServiceIdentity(org.apache.wsif.WSIFRequest request, java.lang.String targetServiceIdentity) throws WSGWException, java.rmi.RemoteException
The target service is identified by the identity string. The Routing service selects the first target service with an exactly equal identity string (using String.equals()).
The selected port name if any is reset by this call.
request
- The request.targetServiceIdentity
- The target service location.WSGWException
- There are no target services matching the supplied identity.java.rmi.RemoteException
- Required for EJB remote interfaces.public com.ibm.wsgw.config.TargetServiceLocation getSelectedTargetServiceLocation(org.apache.wsif.WSIFRequest request) throws WSGWException, java.rmi.RemoteException
The target service is identified by the location string for its WSDL definition.
request
- The request.WSGWException
- No target service has been selected.java.rmi.RemoteException
- Required for EJB remote interfaces.public java.lang.String getTargetPortName(org.apache.wsif.WSIFRequest request) throws java.rmi.RemoteException, WSGWException
request
- The request.WSGWException
- An error occurred obtaining the target port name.java.rmi.RemoteException
- Required for EJB remote interfaces.public org.apache.wsif.WSIFRequest setTargetPortName(org.apache.wsif.WSIFRequest request, java.lang.String portName) throws WSGWException, java.rmi.RemoteException
request
- The request.portName
- The port name to be selected.WSGWException
- The port name is not valid.java.rmi.RemoteException
- Required for EJB remote interfaces.public javax.wsdl.Definition getTargetServiceDefinition(org.apache.wsif.WSIFRequest request, com.ibm.wsgw.config.TargetServiceLocation targetServiceLocation) throws java.rmi.RemoteException, WSGWException
request
- The request.targetServiceLocation
- The target service location.WSGWException
- The target service location is not valid.java.rmi.RemoteException
- Required for EJB remote interfaces.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |