|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.server.impl.wadl.WadlApplicationContextImpl
public class WadlApplicationContextImpl
| Constructor Summary | |
|---|---|
WadlApplicationContextImpl(java.util.Set<AbstractResource> rootResources,
WadlGenerator wadlGenerator)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WadlApplicationContextImpl(java.util.Set<AbstractResource> rootResources,
WadlGenerator wadlGenerator)
| Method Detail |
|---|
public Application getApplication()
WadlApplicationContextApplication corresponding to all
the root resource classes.
getApplication in interface WadlApplicationContextpublic Application getApplication(UriInfo ui)
WadlApplicationContextApplication corresponding to all
the root resource classes, and configure the base URI.
getApplication in interface WadlApplicationContextui - the URI information from which the base URI is set on the
WADL application.
public javax.xml.bind.JAXBContext getJAXBContext()
WadlApplicationContextWadlGenerator
for the Web application.
getJAXBContext in interface WadlApplicationContextpublic java.lang.String getJAXBContextPath()
WadlApplicationContextJAXBContext.
getJAXBContextPath in interface WadlApplicationContextpublic WadlBuilder getWadlBuilder()
WadlApplicationContextWadlGenerator
for the Web application.
getWadlBuilder in interface WadlApplicationContextpublic void setWadlGenerationEnabled(boolean wadlGenerationEnabled)
WadlApplicationContext
setWadlGenerationEnabled in interface WadlApplicationContextwadlGenerationEnabled - if wadlGenerationEnabled is true and
ResourceConfig.FEATURE_DISABLE_WADL
is false, WADL generation is enabled. In all other cases is disabled.public boolean isWadlGenerationEnabled()
WadlApplicationContext
isWadlGenerationEnabled in interface WadlApplicationContextResourceConfig.FEATURE_DISABLE_WADL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||