|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
@Documented
@WebServiceFeatureAnnotation(id="http://jax-ws.dev.java.net/features/uses-jaxb-context",
bean=UsesJAXBContextFeature.class)
public @interface UsesJAXBContext
This feature instructs that the specified JAXBContextFactory be used for performing
data-binding for the SEI.
For example,
@WebService
@UsesJAXBContext(MyJAXBContextFactory.class)
public class HelloService {
...
}
If your JAXBContextFactory needs to carry some state from your calling application,
you can use UsesJAXBContextFeature to pass in an instance of JAXBContextFactory,
instead of using this to specify the type.
| Required Element Summary | |
|---|---|
Class<? extends JAXBContextFactory> |
value
Designates the JAXBContextFactory to be used to create the JAXBContext object,
which in turn will be used by the JAX-WS runtime to marshal/unmarshal parameters and return
values to/from XML. |
| Element Detail |
|---|
public abstract Class<? extends JAXBContextFactory> value
JAXBContextFactory to be used to create the JAXBContext object,
which in turn will be used by the JAX-WS runtime to marshal/unmarshal parameters and return
values to/from XML.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||