com.sun.jersey.server.wadl
Interface WadlApplicationContext

All Known Implementing Classes:
WadlApplicationContextImpl

public interface WadlApplicationContext

A context to obtain WADL-based information.

Author:
Paul.Sandoz

Method Summary
 Application getApplication()
          Get a new instance of a JAXB WADL Application corresponding to all the root resource classes.
 Application getApplication(javax.ws.rs.core.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.
 

Method Detail

getWadlBuilder

WadlBuilder getWadlBuilder()
Get a WADL builder initiated with the configured WadlGenerator for the Web application.

Returns:
the WADL builder.

getApplication

Application getApplication()
Get a new instance of a JAXB WADL Application corresponding to all the root resource classes.

Returns:
the application, the contents may be modified.

getApplication

Application getApplication(javax.ws.rs.core.UriInfo ui)
Get a new instance of a JAXB WADL Application corresponding to all the root resource classes, and configure the base URI.

Parameters:
ui - the URI information from which the base URI is set on the WADL application.
Returns:
the application, the contents may be modified.

getJAXBContext

javax.xml.bind.JAXBContext getJAXBContext()
Get the default JAXB context associated with the WadlGenerator for the Web application.

Returns:
the default JAXB context.

getJAXBContextPath

java.lang.String getJAXBContextPath()
Get the default JAXB context path to create a JAXBContext.

Returns:
the default JAXB context.


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.