com.sun.jersey.test.framework
Class LowLevelAppDescriptor

java.lang.Object
  extended by com.sun.jersey.test.framework.AppDescriptor
      extended by com.sun.jersey.test.framework.LowLevelAppDescriptor

public class LowLevelAppDescriptor
extends AppDescriptor

A low-level application descriptor.

An instance of this class is created by creating an instance of LowLevelAppDescriptor.Builder, invoking methods to add/modify state, and finally invoking the LowLevelAppDescriptor.Builder.build() method.

This application descriptor is compatible with low-level test containers that do not support Servlet. The following low-level test container factories are provided:

Author:
Paul.Sandoz@Sun.COM

Nested Class Summary
static class LowLevelAppDescriptor.Builder
          The builder for building a low-level application descriptor.
 
Nested classes/interfaces inherited from class com.sun.jersey.test.framework.AppDescriptor
AppDescriptor.AppDescriptorBuilder<T extends AppDescriptor.AppDescriptorBuilder,V extends AppDescriptor>
 
Method Summary
 String getContextPath()
          Get the context path.
 ResourceConfig getResourceConfig()
          Get the resource configuration.
static LowLevelAppDescriptor transform(WebAppDescriptor wad)
          Transform a Web-based application descriptor into a low-level application descriptor.
 
Methods inherited from class com.sun.jersey.test.framework.AppDescriptor
getClientConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResourceConfig

public ResourceConfig getResourceConfig()
Get the resource configuration.

Returns:
the resource configuration.

getContextPath

public String getContextPath()
Get the context path.

Returns:
the context path.

transform

public static LowLevelAppDescriptor transform(WebAppDescriptor wad)
Transform a Web-based application descriptor into a low-level application descriptor.

Parameters:
wad - the Web-based application descriptor.
Returns:
the low-level application descriptor.


Copyright © 2013 Oracle Corporation. All Rights Reserved.