|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.developer.EPRRecipe
public final class EPRRecipe
Represents additional data to be added to EPRs
created from StatefulWebServiceManager
(for advanced users).
Occasionally it is convenient to be able to control the data to be
present on EndpointReference
s created by StatefulWebServiceManager
.
You can do so by using this class like this:
statefulWebServiceManager.export(W3CEndpointReference
.class,myObject, new EPRRecipe().addReferenceParameter(Headers
.create(...)) .addReferenceParameter(Headers
.create(...)));
The methods on this class follows the fluent interface design to allow construction without using a variable.
See WS-Addressing EPR information model for more details.
StatefulWebServiceManager
,
Headers
Constructor Summary | |
---|---|
EPRRecipe()
|
Method Summary | |
---|---|
EPRRecipe |
addMetadata(Iterable<? extends Source> sources)
|
EPRRecipe |
addMetadata(Source... sources)
|
EPRRecipe |
addMetadata(Source source)
Adds a new metadata. |
EPRRecipe |
addReferenceParameter(Header h)
Adds a new reference parameter. |
EPRRecipe |
addReferenceParameters(Header... headers)
Adds all the headers as reference parameters. |
EPRRecipe |
addReferenceParameters(Iterable<? extends Header> headers)
Adds all the headers as reference parameters. |
List<Source> |
getMetadata()
Gets all the metadata added so far. |
List<Header> |
getReferenceParameters()
Gets all the reference parameters added so far. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPRRecipe()
Method Detail |
---|
@NotNull public List<Header> getReferenceParameters()
@NotNull public List<Source> getMetadata()
public EPRRecipe addReferenceParameter(Header h)
public EPRRecipe addReferenceParameters(Header... headers)
public EPRRecipe addReferenceParameters(Iterable<? extends Header> headers)
public EPRRecipe addMetadata(Source source)
public EPRRecipe addMetadata(Source... sources)
public EPRRecipe addMetadata(Iterable<? extends Source> sources)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |