com.sun.jersey.server.wadl
Interface WadlApplicationContext


public interface WadlApplicationContext

A context to obtain WADL-based information.

Author:
Paul.Sandoz

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

Method Detail

getWadlBuilder

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

Returns:
the WADL builder.

getApplication

com.sun.research.ws.wadl.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

com.sun.research.ws.wadl.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.

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 © 2010 Oracle Corporation. All Rights Reserved.