public interface WadlApplicationContext
| Modifier and Type | Method and Description |
|---|---|
Application |
getApplication()
Get a new instance of a JAXB WADL
Application corresponding to all
the root resource classes. |
Application |
getApplication(UriInfo ui)
Get a new instance of a JAXB WADL
Application corresponding to all
the root resource classes, and configure the base URI. |
javax.xml.bind.JAXBContext |
getJAXBContext()
Get the default JAXB context associated with the
WadlGenerator
for the Web application. |
java.lang.String |
getJAXBContextPath()
Get the default JAXB context path to create a
JAXBContext. |
WadlBuilder |
getWadlBuilder()
Get a WADL builder initiated with the configured
WadlGenerator
for the Web application. |
boolean |
isWadlGenerationEnabled()
Get WADL generation status.
|
void |
setWadlGenerationEnabled(boolean wadlGenerationEnabled)
Enable/disable WADL generation.
|
WadlBuilder getWadlBuilder()
WadlGenerator
for the Web application.Application getApplication()
Application corresponding to all
the root resource classes.Application getApplication(UriInfo ui)
Application corresponding to all
the root resource classes, and configure the base URI.ui - the URI information from which the base URI is set on the
WADL application.javax.xml.bind.JAXBContext getJAXBContext()
WadlGenerator
for the Web application.java.lang.String getJAXBContextPath()
JAXBContext.void setWadlGenerationEnabled(boolean wadlGenerationEnabled)
wadlGenerationEnabled - if wadlGenerationEnabled is true and
ResourceConfig.FEATURE_DISABLE_WADL
is false, WADL generation is enabled. In all other cases is disabled.boolean isWadlGenerationEnabled()
ResourceConfig.FEATURE_DISABLE_WADLCopyright © 2015 Oracle Corporation. All Rights Reserved.