|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface describes WSO2 SOA Enablement Server service part of a deployment descriptor.
| Field Summary | |
static int |
OTHER_METHODS_GET
Deprecated. Only raw services (their instance has to implement the org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods. |
static int |
OTHER_METHODS_NONE
Deprecated. Only raw services (their instance has to implement the org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods. |
static int |
TYPE_JAVA
Java service using JavaAdaptor. |
static int |
TYPE_RAW
Raw service using RawAdaptor. |
static int |
TYPE_UNSPECIFIED
Service type not explicitly specified. |
static int |
TYPE_XML
XML service using XmlAdaptor. |
| Method Summary | |
void |
addAcceptingSecurityProvider(java.lang.String providerName)
Sets arrays of names of the security providers which have to be activated for this service implementation for accepting incoming requests. |
void |
addListener(QName listener)
Adds listener associated with this service endpoint. |
java.util.List |
getAcceptingSecurityProviders()
Returns list of names of the security providers which have to be activated for this service implementation for accepting incoming requests. |
java.lang.String |
getInitiatingSecurityProvider()
Returns name of the security provider to be used for outgoing calls from this service implementation. |
java.lang.String |
getInterface()
Returns interface of service instance exposed at this endpoint. |
java.util.List |
getListeners()
Returns list of qnames of the listeners associated with this service endpoint. |
int |
getOtherMethods()
Deprecated. Only raw services (their instance has to implement the org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods. |
java.lang.String |
getPath()
Returns the (relative) endpoint of the service. |
Processing |
getProcessing()
Returns the current processing. |
ServiceInstance |
getServiceInstance()
Returns the current service instance. |
int |
getServiceType()
Gets the type of the service. |
java.lang.String |
getURL()
Returns the value for overriding the soap:address location attribute in returned WSDL or null if not set (and WSO2 SOA Enablement Serverautodetects the proper value). |
java.lang.String |
getVersion()
Returns the version of this endpoint or null if
it was not specified (default version is 1.0). |
QName |
getWsdlServiceQName()
Returns the name of the WSDL service that will be used as an interface to be called. |
java.lang.String |
getWsdlURI()
Returns the URI of the WSDL document. |
java.lang.String |
getXMLProtocol()
Deprecated. The selection of protocol relies on the WSDL. The default value is stored in clientconf.xml and defaultXMLProtocol. |
void |
setInitiatingSecurityProvider(java.lang.String providerName)
Sets name of the security provider to be used for outgoing calls from this service implementation. |
void |
setInterface(java.lang.String iface)
Sets interface of service instance exposed at this endpoint. |
void |
setOtherMethods(int otherMethods)
Deprecated. Only raw services (their instance has to implement the org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods. |
void |
setPath(java.lang.String path)
Sets the (relative) endpoint of the service. |
void |
setProcessing(Processing processing)
Sets processing of this service. |
Processing |
setProcessing(java.lang.String name)
Creates a new Processing object and sets it as processing for this service. |
void |
setServiceInstance(ServiceInstance serviceInstance)
Sets a service instance which will be used as the implementation of this service. |
ServiceInstance |
setServiceInstance(java.lang.String name,
java.lang.String implClass)
Creates and a new serviceInstance object ans sets it as
the implementation of this service. |
void |
setServiceType(int type)
Gets the type of the service. |
void |
setURL(java.lang.String url)
Sets the soap:address location attribute in returned WSDL. |
void |
setVersion(java.lang.String version)
Sets the version of this endpoint. |
void |
setWsdlServiceQName(QName wsdlServiceQName)
Sets the name of the WSDL service that will be used as an interface to be called. |
void |
setWsdlURI(java.lang.String wsdlURI)
Sets the URI of the WSDL document. |
void |
setXMLProtocol(java.lang.String protocol)
Deprecated. The selection of protocol relies on the WSDL. The default value is stored in clientconf.xml and defaultXMLProtocol. |
| Methods inherited from interface org.systinet.wasp.dd.NamedPart |
getName, setName |
| Methods inherited from interface org.systinet.wasp.dd.DeploymentPart |
getDeploymentDescriptor |
| Methods inherited from interface org.systinet.wasp.dd.ConfigurablePart |
getConfiguration |
| Methods inherited from interface org.systinet.wasp.dd.ExtensiblePart |
addElement, getElements |
| Methods inherited from interface org.systinet.wasp.dd.DocumentablePart |
getDocumentation, setDocumentation |
| Methods inherited from interface org.systinet.wasp.dd.AttributablePart |
getAttributes, newAttributes, setAttributes |
| Field Detail |
public static final int TYPE_UNSPECIFIED
getServiceType(),
setServiceType(int),
Constant Field Valuespublic static final int TYPE_JAVA
getServiceType(),
setServiceType(int),
Constant Field Valuespublic static final int TYPE_XML
getServiceType(),
setServiceType(int),
Constant Field Valuespublic static final int TYPE_RAW
getServiceType(),
setServiceType(int),
Constant Field Valuespublic static final int OTHER_METHODS_NONE
org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods.
getOtherMethods(),
setOtherMethods(int),
Constant Field Valuespublic static final int OTHER_METHODS_GET
org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods.
getOtherMethods(),
setOtherMethods(int),
Constant Field Values| Method Detail |
public void setProcessing(Processing processing)
processing - the processing
public Processing setProcessing(java.lang.String name)
throws DuplicatedNameException
Processing object and sets it as processing for this service.
name - the local part of the QName of the processing to be added
Processing object
DuplicatedNameExceptionNamedPart.setName(java.lang.String)public Processing getProcessing()
public void setServiceInstance(ServiceInstance serviceInstance)
serviceInstance - the service instance
public ServiceInstance setServiceInstance(java.lang.String name,
java.lang.String implClass)
throws DuplicatedNameException
serviceInstance object ans sets it as
the implementation of this service.
name - the local part of the QName of the service instance to be addedimplClass - the implementation class
ServiceInstance
DuplicatedNameExceptionNamedPart.setName(java.lang.String),
ImplementablePart.setImplementationClass(java.lang.String)public ServiceInstance getServiceInstance()
public java.lang.String getPath()
public void setPath(java.lang.String path)
path - the path being set uppublic int getServiceType()
TYPE_UNSPECIFIED(the default one),
TYPE_JAVA, TYPE_XML and TYPE_RAW for detailsTYPE_UNSPECIFIED,
TYPE_JAVA,
TYPE_XML,
TYPE_RAWpublic void setServiceType(int type)
type - service type, one of TYPE_UNSPECIFIED(the default one),
TYPE_JAVA, TYPE_XML or TYPE_RAWTYPE_UNSPECIFIED,
TYPE_JAVA,
TYPE_XML,
TYPE_RAWpublic int getOtherMethods()
org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods.
OTHER_METHODS_NONE and
OTHER_METHODS_GET for detailsOTHER_METHODS_NONE,
OTHER_METHODS_GETpublic void setOtherMethods(int otherMethods)
org.systinet.wasp.webservice.RawService interface)
are bound to both the GET and POST methods.
otherMethods - OTHER_METHODS_NONE or
OTHER_METHODS_GETOTHER_METHODS_NONE,
OTHER_METHODS_GETpublic java.lang.String getXMLProtocol()
clientconf.xml and defaultXMLProtocol.
public void setXMLProtocol(java.lang.String protocol)
clientconf.xml and defaultXMLProtocol.
protocol - the protocolpublic java.lang.String getWsdlURI()
public void setWsdlURI(java.lang.String wsdlURI)
wsdlURI - the URI of the WSDL documentpublic QName getWsdlServiceQName()
public void setWsdlServiceQName(QName wsdlServiceQName)
wsdlServiceQName - the name of the WSDL service to be called.public java.lang.String getInitiatingSecurityProvider()
public void setInitiatingSecurityProvider(java.lang.String providerName)
providerName - name of the security provider for outgoing
callspublic java.util.List getAcceptingSecurityProviders()
public void addAcceptingSecurityProvider(java.lang.String providerName)
providerName - name of the security provider for outgoing
callspublic java.lang.String getInterface()
public void setInterface(java.lang.String iface)
iface - exposed interface of service instancepublic void setURL(java.lang.String url)
url - service location URL used in java.lang.IllegalStateException - when this service endpoint is already published.public java.lang.String getURL()
null if not set (and WSO2 SOA Enablement Serverautodetects the proper value).
null if not specifiedpublic java.util.List getListeners()
public void addListener(QName listener)
listener - listener to addpublic java.lang.String getVersion()
null if
it was not specified (default version is 1.0).
public void setVersion(java.lang.String version)
version - the version or null for default version (1.0)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||