|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.server.ServiceDefinitionImpl
public final class ServiceDefinitionImpl
ServiceDefinition
implementation.
You construct a ServiceDefinitionImpl
by first constructing
a list of SDDocumentImpl
s.
Field Summary | |
---|---|
(package private) List<SDDocumentFilter> |
filters
|
(package private) WSEndpointImpl<?> |
owner
Set when WSEndpointImpl is created. |
Constructor Summary | |
---|---|
ServiceDefinitionImpl(List<SDDocumentImpl> docs,
SDDocumentImpl primaryWsdl)
|
Method Summary | |
---|---|
void |
addFilter(SDDocumentFilter filter)
Adds a filter that is called while writing SDDocument 's infoset. |
SDDocumentImpl |
getBySystemId(String systemId)
Gets the SDDocumentImpl whose SDDocumentImpl.getURL()
returns the specified value. |
SDDocument |
getBySystemId(URL systemId)
|
SDDocument |
getPrimary()
Gets the "primary" SDDocument that represents a WSDL. |
Iterator<SDDocument> |
iterator()
|
(package private) void |
setOwner(WSEndpointImpl<?> owner)
The owner is set when WSEndpointImpl is created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
WSEndpointImpl<?> owner
WSEndpointImpl
is created.
final List<SDDocumentFilter> filters
Constructor Detail |
---|
public ServiceDefinitionImpl(List<SDDocumentImpl> docs, @NotNull SDDocumentImpl primaryWsdl)
docs
- List of SDDocumentImpl
s to form the description.
There must be at least one entry.
The first document is considered primary
.Method Detail |
---|
void setOwner(WSEndpointImpl<?> owner)
WSEndpointImpl
is created.
@NotNull public SDDocument getPrimary()
ServiceDefinition
SDDocument
that represents a WSDL.
This WSDL eventually refers to all the other SDDocument
s.
getPrimary
in interface ServiceDefinition
public void addFilter(SDDocumentFilter filter)
ServiceDefinition
SDDocument
's infoset. This
filter is applied to the all the other reachable SDDocument
s.
addFilter
in interface ServiceDefinition
filter
- that is called while writing the documentpublic Iterator<SDDocument> iterator()
iterator
in interface Iterable<SDDocument>
public SDDocument getBySystemId(URL systemId)
getBySystemId(String)
public SDDocumentImpl getBySystemId(String systemId)
SDDocumentImpl
whose SDDocumentImpl.getURL()
returns the specified value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |