|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbsItfService<I extends AbsItfInterfaceType,E extends AbsItfEndpoint>
This interface represents a service, which groups related endpoints to provide some functionality.
Method Summary | |
---|---|
void |
addEndpoint(E endpoint)
Add a endpoint to this service. |
E |
createEndpoint()
create the specified endpoint. |
E |
getEndpoint(java.lang.String name)
Get the specified endpoint. |
java.util.List<E> |
getEndpoints()
Get all the endpoints defined here. |
I |
getInterface()
Get interface. |
javax.xml.namespace.QName |
getQName()
Get the name of this service. |
E |
removeEndpoint(java.lang.String name)
Remove the specified endpoint. |
void |
setInterface(I itf)
|
void |
setQName(javax.xml.namespace.QName name)
Set the name of this service. |
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
---|
addOtherElements, getOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
---|
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
Method Detail |
---|
void setQName(javax.xml.namespace.QName name)
name
- the desired namejavax.xml.namespace.QName getQName()
E createEndpoint()
void addEndpoint(E endpoint)
endpoint
- the endpoint to be addedE getEndpoint(java.lang.String name)
name
- the name of the desired endpoint.
E removeEndpoint(java.lang.String name)
name
- the name of the endpoint to be removed.
java.util.List<E> getEndpoints()
I getInterface() throws WSDLException
Get interface.
In case of WSDL 2.0, the returned interface is defined by the XPath expression '/description/service@interface'.
In case of WSDL 1.1, according to WSDL 1.1 specifications,
if all service endpoints share the same port type, the returned interface
is defined by the endpoints port type, otherwise an exception
WSDLException
is thrown.
WSDLException
void setInterface(I itf)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |