Package com.sun.xml.ws.developer
Class EPRRecipe
java.lang.Object
com.sun.xml.ws.developer.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 EndpointReferences 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.
- Since:
- 2.1.1
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMetadata(Iterable<? extends Source> sources) addMetadata(Source source) Adds a new metadata.addMetadata(Source... sources) Adds a new reference parameter.addReferenceParameters(Header... headers) Adds all the headers as reference parameters.addReferenceParameters(Iterable<? extends Header> headers) Adds all the headers as reference parameters.Gets all the metadata added so far.Gets all the reference parameters added so far.
-
Constructor Details
-
EPRRecipe
public EPRRecipe()
-
-
Method Details
-
getReferenceParameters
Gets all the reference parameters added so far. -
getMetadata
Gets all the metadata added so far. -
addReferenceParameter
Adds a new reference parameter. -
addReferenceParameters
Adds all the headers as reference parameters. -
addReferenceParameters
Adds all the headers as reference parameters. -
addMetadata
Adds a new metadata. -
addMetadata
-
addMetadata
-