|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl
public class WadlApplicationContextImpl
WADL application context implementation.
| Constructor Summary | |
|---|---|
WadlApplicationContextImpl(javax.ws.rs.core.Configuration configuration,
org.glassfish.hk2.api.ServiceLocator serviceLocator)
|
|
| Method Summary | |
|---|---|
ApplicationDescription |
getApplication(javax.ws.rs.core.UriInfo uriInfo)
Get a new instance of a ApplicationDescription corresponding to all
the root resource classes, and configure the base URI. |
Application |
getApplication(javax.ws.rs.core.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WadlApplicationContextImpl(@Context
javax.ws.rs.core.Configuration configuration,
@Context
org.glassfish.hk2.api.ServiceLocator serviceLocator)
| Method Detail |
|---|
public ApplicationDescription getApplication(javax.ws.rs.core.UriInfo uriInfo)
WadlApplicationContextApplicationDescription corresponding to all
the root resource classes, and configure the base URI.
getApplication in interface WadlApplicationContexturiInfo - the URI information from which the base URI is set on the
WADL application.
public Application getApplication(javax.ws.rs.core.UriInfo info,
Resource resource)
WadlApplicationContextApplication for a particular resource.
getApplication in interface WadlApplicationContextinfo - the URI information from which the base URI is set on the
WADL application.resource - the resource to build the Application for
public JAXBContext getJAXBContext()
WadlApplicationContextWadlGenerator
for the Web application.
getJAXBContext in interface WadlApplicationContextpublic void setWadlGenerationEnabled(boolean wadlGenerationEnabled)
WadlApplicationContext
setWadlGenerationEnabled in interface WadlApplicationContextwadlGenerationEnabled - if wadlGenerationEnabled is true and
ServerProperties.WADL_FEATURE_DISABLE
is false, WADL generation is enabled. In all other cases is disabled.public boolean isWadlGenerationEnabled()
WadlApplicationContext
isWadlGenerationEnabled in interface WadlApplicationContextServerProperties.WADL_FEATURE_DISABLE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||