|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WadlApplicationContext
A context to obtain WADL-based information.
| Method Summary | |
|---|---|
ApplicationDescription |
getApplication(UriInfo ui)
Get a new instance of a ApplicationDescription corresponding to all
the root resource classes, and configure the base URI. |
Application |
getApplication(UriInfo info,
Resource resource)
Get a new instance of Application for a particular resource. |
JAXBContext |
getJAXBContext()
Get the default JAXB context associated with the WadlGenerator
for the Web application. |
boolean |
isWadlGenerationEnabled()
Get WADL generation status. |
void |
setWadlGenerationEnabled(boolean wadlGenerationEnabled)
Enable/disable WADL generation. |
| Method Detail |
|---|
ApplicationDescription getApplication(UriInfo ui)
ApplicationDescription 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.
Application getApplication(UriInfo info,
Resource resource)
Application for a particular resource.
info - the URI information from which the base URI is set on the
WADL application.resource - the resource to build the Application for
JAXBContext getJAXBContext()
WadlGenerator
for the Web application.
void setWadlGenerationEnabled(boolean wadlGenerationEnabled)
wadlGenerationEnabled - if wadlGenerationEnabled is true and
ServerProperties.WADL_FEATURE_DISABLE
is false, WADL generation is enabled. In all other cases is disabled.boolean isWadlGenerationEnabled()
ServerProperties.WADL_FEATURE_DISABLE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||