public interface Service extends ExtensibleDocumentedComponent
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
addNewEndpoint(String name,
Binding binding)
Create a new end point component, appending it to this service's
endpoint list.
|
void |
appendEndpoint(Endpoint theEndpoint)
Append an item to endpoints for this service.
|
Endpoint |
getEndpoint(int index)
Get endpoints for this service by indexed position.
|
int |
getEndpointsLength()
Get the number of Endpoint items in endpoints.
|
Interface |
getInterface()
Get interface provided by this service.
|
String |
getName()
Get local name of this service component.
|
QName |
getQName()
Get qualified name of this component.
|
String |
getTargetNamespace()
Get target namespace of this binding.
|
Endpoint |
removeEndpoint(int index)
Remove endpoints for this service by index position.
|
void |
setEndpoint(int index,
Endpoint theEndpoint)
Set endpoints for this service by indexed position.
|
void |
setInterface(Interface theInterface)
Set interface provided by this service.
|
void |
setName(String theName)
Set local name of this service component.
|
DocumentFragment |
toXmlDocumentFragment()
Return this service as a DOM document fragment.
|
String |
toXmlString()
Return this WSDL service as an XML string.
|
getDocument, getDocument, getExtensions, getWsdlAttributeNameMap, setDocument, setDocument, setExtensionsString getTargetNamespace()
String getName()
void setName(String theName)
theName - Local name of this service componentQName getQName()
Interface getInterface()
void setInterface(Interface theInterface)
theInterface - Interface provided by this serviceint getEndpointsLength()
Endpoint getEndpoint(int index)
index - Indexed position value 0..length-1index
position.void setEndpoint(int index,
Endpoint theEndpoint)
index - Indexed position value (0..length-1) of the item to settheEndpoint - Item to add at position index.void appendEndpoint(Endpoint theEndpoint)
theEndpoint - Item to append to endpointsEndpoint removeEndpoint(int index)
index - The index position of the endpoint to removeEndpoint addNewEndpoint(String name, Binding binding)
name - NC name for the new endpoint.binding - Binding to which the endpoint refers.String toXmlString()
DocumentFragment toXmlDocumentFragment()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.