|
||||||||||
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. |
com.sun.research.ws.wadl.Application |
getApplication(UriInfo info,
AbstractResource resource,
java.lang.String path)
Get a new instance of Application for a particular resource |
javax.xml.bind.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.
com.sun.research.ws.wadl.Application getApplication(UriInfo info, AbstractResource resource, java.lang.String path)
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 forpath
- the path to this resource
javax.xml.bind.JAXBContext getJAXBContext()
WadlGenerator
for the Web application.
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_WADL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |