|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.ws.rs.core.Application
com.sun.jersey.api.core.ResourceConfig
com.sun.jersey.api.core.DefaultResourceConfig
com.sun.jersey.api.core.ScanningResourceConfig
com.sun.jersey.api.core.servlet.WebAppResourceConfig
public class WebAppResourceConfig
A mutable implementation of DefaultResourceConfig
that dynamically
searches for root resource and provider classes in the Web application
resource paths declared by the property
ClasspathResourceConfig.PROPERTY_CLASSPATH
.
If that property is not included in the map of initial properties passed to
the constructor then the Web application paths "WEB-INF/lib" and
"WEB-INF/classes" are utlized.
Field Summary |
---|
Fields inherited from interface com.sun.jersey.core.util.FeaturesAndProperties |
---|
FEATURE_DISABLE_XML_SECURITY, FEATURE_FORMATTED, FEATURE_PRE_1_4_PROVIDER_PRECEDENCE, FEATURE_XMLROOTELEMENT_PROCESSING |
Constructor Summary | |
---|---|
WebAppResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props,
javax.servlet.ServletContext sc)
|
|
WebAppResourceConfig(java.lang.String[] paths,
javax.servlet.ServletContext sc)
|
Method Summary |
---|
Methods inherited from class com.sun.jersey.api.core.ScanningResourceConfig |
---|
init, onReload, reload |
Methods inherited from class com.sun.jersey.api.core.DefaultResourceConfig |
---|
getClasses, getExplicitRootResources, getFeature, getFeatures, getLanguageMappings, getMediaTypeMappings, getProperties, getProperty, getSingletons |
Methods inherited from class com.sun.jersey.api.core.ResourceConfig |
---|
add, clone, getContainerRequestFilters, getContainerResponseFilters, getElements, getElements, getProviderClasses, getProviderSingletons, getResourceFilterFactories, getRootResourceClasses, getRootResourceSingletons, isProviderClass, isRootResourceClass, setPropertiesAndFeatures, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebAppResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props, javax.servlet.ServletContext sc)
props
- the property bag that contains the property
ClasspathResourceConfig.PROPERTY_CLASSPATH
.sc
- the servlet context.public WebAppResourceConfig(java.lang.String[] paths, javax.servlet.ServletContext sc)
paths
- the array paths consisting of either jar files or
directories containing jar files for class files.sc
- the servlet context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |