Class PerRequestRootResourceClass
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.wrappers.AbstractJaxRsWrapper
-
- org.restlet.ext.jaxrs.internal.wrappers.ResourceClass
-
- org.restlet.ext.jaxrs.internal.wrappers.RootResourceClass
-
- org.restlet.ext.jaxrs.internal.wrappers.PerRequestRootResourceClass
-
- All Implemented Interfaces:
RrcOrRml
@Deprecated public class PerRequestRootResourceClass extends RootResourceClass
Deprecated.Will be removed in next minor release.
-
-
Field Summary
-
Fields inherited from class org.restlet.ext.jaxrs.internal.wrappers.RootResourceClass
constructor, constructorParameters, injectHelper
-
Fields inherited from class org.restlet.ext.jaxrs.internal.wrappers.ResourceClass
jaxRsClass
-
-
Constructor Summary
Constructors Constructor Description PerRequestRootResourceClass(java.lang.Class<?> jaxRsClass, ThreadLocalizedContext tlContext, JaxRsProviders jaxRsProviders, ExtensionBackwardMapping extensionBackwardMapping, java.util.logging.Logger logger)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ResourceObjectgetInstance(ObjectFactory objectFactory)Deprecated.Creates an or gets the instance of this root resource class.-
Methods inherited from class org.restlet.ext.jaxrs.internal.wrappers.RootResourceClass
equals, getPathRegExp
-
Methods inherited from class org.restlet.ext.jaxrs.internal.wrappers.ResourceClass
getAllowedMethods, getJaxRsClass, getMethodsForPath, getName, getResourceMethods, getResourceMethodsAndLocators, getSubResourceLocators, hashCode, hasSubResourceMethodsOrLocators, isLeaveEncoded, toString
-
-
-
-
Constructor Detail
-
PerRequestRootResourceClass
PerRequestRootResourceClass(java.lang.Class<?> jaxRsClass, ThreadLocalizedContext tlContext, JaxRsProviders jaxRsProviders, ExtensionBackwardMapping extensionBackwardMapping, java.util.logging.Logger logger) throws java.lang.IllegalArgumentException, MissingAnnotationException, IllegalPathOnClassException, MissingConstructorException, IllegalConstrParamTypeException, IllegalFieldTypeException, IllegalBeanSetterTypeException, IllegalPathParamTypeExceptionDeprecated.- Parameters:
jaxRsClass-tlContext-jaxRsProviders-extensionBackwardMapping-logger-- Throws:
java.lang.IllegalArgumentExceptionMissingAnnotationExceptionIllegalPathOnClassExceptionMissingConstructorExceptionIllegalConstrParamTypeExceptionIllegalFieldTypeExceptionIllegalBeanSetterTypeExceptionIllegalPathParamTypeException
-
-
Method Detail
-
getInstance
public ResourceObject getInstance(ObjectFactory objectFactory) throws InstantiateException, java.lang.reflect.InvocationTargetException
Deprecated.Creates an or gets the instance of this root resource class.- Specified by:
getInstancein classRootResourceClass- Parameters:
objectFactory- object responsible for instantiating the root resource class. Optional, thus can be null.- Returns:
- the instantiated root resource object.
- Throws:
java.lang.reflect.InvocationTargetExceptionInstantiateExceptionMissingAnnotationExceptionjavax.ws.rs.WebApplicationException
-
-