org.jboss.resteasy.core
Class ResourceLocator
java.lang.Object
org.jboss.resteasy.core.ResourceLocator
- All Implemented Interfaces:
- ResourceInvoker
public class ResourceLocator
- extends java.lang.Object
- implements ResourceInvoker
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
injector
protected InjectorFactory injector
methodInjector
protected MethodInjector methodInjector
resource
protected ResourceFactory resource
providerFactory
protected ResteasyProviderFactory providerFactory
method
protected java.lang.reflect.Method method
cachedSubresources
protected java.util.concurrent.ConcurrentHashMap<java.lang.Class,Registry> cachedSubresources
ResourceLocator
public ResourceLocator(ResourceFactory resource,
InjectorFactory injector,
ResteasyProviderFactory providerFactory,
java.lang.Class root,
java.lang.reflect.Method method)
createResource
protected java.lang.Object createResource(HttpRequest request,
HttpResponse response)
createResource
protected java.lang.Object createResource(HttpRequest request,
HttpResponse response,
java.lang.Object locator)
getMethod
public java.lang.reflect.Method getMethod()
invoke
public ServerResponse invoke(HttpRequest request,
HttpResponse response)
- Specified by:
invoke
in interface ResourceInvoker
invoke
public ServerResponse invoke(HttpRequest request,
HttpResponse response,
java.lang.Object locator)
- Specified by:
invoke
in interface ResourceInvoker
invokeOnTargetObject
protected ServerResponse invokeOnTargetObject(HttpRequest request,
HttpResponse response,
java.lang.Object target)
Copyright © 2010. All Rights Reserved.