|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ws.rs.core.Application com.sun.jersey.api.core.ResourceConfig com.sun.jersey.api.core.DefaultResourceConfig com.bea.content.cmis.rest.ClassListResourceConfig
public class ClassListResourceConfig
Resource to configure a REST service from a list of Resource and Provider class names
(as an init-param to the Jersey ServletContainer servlet).
The servlet init-param com.bea.content.cmis.rest.classes should be configured
with a list of resource and provider class names. The names must be separated
by ';' (semi-colon).
Base Resource classes will be configured in DefaultResourceConfig.getClasses()
to have a
per-Request lifecycle.
Provider classes will be instantiated and configured in DefaultResourceConfig.getSingletons()
to have a singleton lifecycle.
This default lifecycle can be controled by the class if it is annotated
with either Singleton
or PerRequest
.
The lifecycle can further be forced in the init-param by appending '@Singleton'
or '@PerRequest' to the classname.
Field Summary | |
---|---|
static String |
PROPERTY_CLASSES
|
Fields inherited from class com.sun.jersey.api.core.ResourceConfig |
---|
FEATURE_CANONICALIZE_URI_PATH, FEATURE_IMPLICIT_VIEWABLES, FEATURE_MATCH_MATRIX_PARAMS, FEATURE_NORMALIZE_URI, FEATURE_REDIRECT, PROPERTY_CONTAINER_NOTIFIER, PROPERTY_CONTAINER_REQUEST_FILTERS, PROPERTY_CONTAINER_RESPONSE_FILTERS, PROPERTY_DEFAULT_RESOURCE_COMPONENT_PROVIDER_FACTORY_CLASS, PROPERTY_RESOURCE_FILTER_FACTORIES, PROPERTY_WADL_GENERATOR_CONFIG |
Constructor Summary | |
---|---|
ClassListResourceConfig(Map<String,Object> props)
Search for root resource classes declaring the class names as a property of ResourceConfig . |
Method Summary |
---|
Methods inherited from class com.sun.jersey.api.core.DefaultResourceConfig |
---|
getClasses, getElements, getFeature, getFeatures, getLanguageMappings, getMediaTypeMappings, getProperties, getProperty, getSingletons, setPropertiesAndFeatures |
Methods inherited from class com.sun.jersey.api.core.ResourceConfig |
---|
getProviderClasses, getProviderSingletons, getRootResourceClasses, getRootResourceSingletons, isProviderClass, isRootResourceClass, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTY_CLASSES
Constructor Detail |
---|
public ClassListResourceConfig(Map<String,Object> props)
ResourceConfig
.
props
- the property bag that contains the property
PROPERTY_CLASSES
.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |