|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.ws.WebServiceFeature
com.sun.xml.ws.developer.UsesJAXBContextFeature
@ManagedData public class UsesJAXBContextFeature
A WebServiceFeature that instructs the JAX-WS runtime to use a specific JAXBContextFactory
instance of creating JAXBContext.
UsesJAXBContext| Field Summary | |
|---|---|
static String |
ID
Constant value identifying the UsesJAXBContext feature. |
| Fields inherited from class javax.xml.ws.WebServiceFeature |
|---|
enabled |
| Constructor Summary | |
|---|---|
UsesJAXBContextFeature(Class<? extends JAXBContextFactory> factoryClass)
Creates UsesJAXBContextFeature. |
|
UsesJAXBContextFeature(JAXBContextFactory factory)
Creates UsesJAXBContextFeature. |
|
UsesJAXBContextFeature(com.sun.xml.bind.api.JAXBRIContext context)
Creates UsesJAXBContextFeature. |
|
| Method Summary | |
|---|---|
JAXBContextFactory |
getFactory()
Gets the JAXBContextFactory instance to be used for creating JAXBContext for SEI. |
String |
getID()
|
| Methods inherited from class javax.xml.ws.WebServiceFeature |
|---|
isEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
UsesJAXBContext feature.
| Constructor Detail |
|---|
public UsesJAXBContextFeature(@NotNull
Class<? extends JAXBContextFactory> factoryClass)
UsesJAXBContextFeature.
factoryClass - This class has to have a public no-arg constructor, which will be invoked to create
a new instance. JAXBContextFactory.createJAXBContext(SEIModel, List, List) will
be then called to create JAXBContext.
public UsesJAXBContextFeature(@Nullable
JAXBContextFactory factory)
UsesJAXBContextFeature.
This version allows JAXBContextFactory to carry application specific state.
factory - Uses a specific instance of JAXBContextFactory to create JAXBContext.
public UsesJAXBContextFeature(@Nullable
com.sun.xml.bind.api.JAXBRIContext context)
UsesJAXBContextFeature.
This version allows you to create JAXBRIContext upfront and uses it.
| Method Detail |
|---|
@ManagedAttribute @Nullable public JAXBContextFactory getFactory()
JAXBContextFactory instance to be used for creating JAXBContext for SEI.
JAXBContext shall be used.@ManagedAttribute public String getID()
getID in class WebServiceFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||