|
JTR 4.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.ws.wsif.WebServiceRtService
public class WebServiceRtService
This is the WSIF-based representation of a typical service definition.
As you might infer from the WSDL formal definition, a service may expose
both multiple portType
s and multiple port
s.
This is reflected by the WebServiceRtService
class.
Constructor Summary | |
---|---|
WebServiceRtService()
Default constructor. |
Method Summary | |
---|---|
void |
addPort(java.lang.String portName,
WebServiceRtPort port)
Add a simgle port to the set of configured onse. |
void |
addPortType(javax.xml.namespace.QName qName,
WebServiceRtPortType portType)
Add a single portType to the set of configured ones. |
WebServiceRtPort |
getPort(java.lang.String portName)
Retrieve the WebServiceRtPort registered with the
provided name. |
java.util.HashMap<java.lang.String,WebServiceRtPort> |
getPorts()
Returns the configured port 's |
WebServiceRtPortType |
getPortType(javax.xml.namespace.QName qName)
Retrieve a portType by name. |
java.util.HashMap<javax.xml.namespace.QName,WebServiceRtPortType> |
getPortTypes()
Get all the configured portType s. |
javax.xml.namespace.QName |
getQualifiedName()
Returns the qualified name of the service. |
org.apache.wsif.WSIFService |
getService()
Returns the service as a WSIFService instance. |
void |
setPorts(java.util.HashMap<java.lang.String,WebServiceRtPort> ports)
Set the configured port 's of the service. |
void |
setPortTypes(java.util.HashMap<javax.xml.namespace.QName,WebServiceRtPortType> portTypes)
Set the available portType s. |
void |
setQualifiedName(javax.xml.namespace.QName qualifiedName)
Set the qualified name of the service. |
void |
setService(org.apache.wsif.WSIFService service)
Sets the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebServiceRtService()
Method Detail |
---|
public javax.xml.namespace.QName getQualifiedName()
public void setQualifiedName(javax.xml.namespace.QName qualifiedName)
qualifiedName
- The qualified name to set.public java.util.HashMap<java.lang.String,WebServiceRtPort> getPorts()
port
's
public void setPorts(java.util.HashMap<java.lang.String,WebServiceRtPort> ports)
port
's of the service.
ports
- The ports to set.public void addPort(java.lang.String portName, WebServiceRtPort port)
port
to the set of configured onse.
portName
- The logical name of the port
port
- The port
public WebServiceRtPort getPort(java.lang.String portName)
WebServiceRtPort
registered with the
provided name.
portName
- The port's logical name
public java.util.HashMap<javax.xml.namespace.QName,WebServiceRtPortType> getPortTypes()
portType
s.
portType
s.public void setPortTypes(java.util.HashMap<javax.xml.namespace.QName,WebServiceRtPortType> portTypes)
portType
s.
portTypes
- The portTypes to set.public void addPortType(javax.xml.namespace.QName qName, WebServiceRtPortType portType)
portType
to the set of configured ones.
qName
- The qualified nameportType
- the WebServiceRtPortType
instancepublic WebServiceRtPortType getPortType(javax.xml.namespace.QName qName)
portType
by name.
qName
- The qualified name
WebServiceRtPortType
if registered, null otherwise.public org.apache.wsif.WSIFService getService()
WSIFService
instance.
public void setService(org.apache.wsif.WSIFService service)
service
- The service to set.
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |