类 DubboResourceFactory
- java.lang.Object
-
- com.alibaba.dubbo.rpc.protocol.rest.DubboResourceFactory
-
- 所有已实现的接口:
org.jboss.resteasy.spi.ResourceFactory
public class DubboResourceFactory extends Object implements org.jboss.resteasy.spi.ResourceFactory
We don't support propertyInjector here since the resource impl should be singleton in dubbo
-
-
构造器概要
构造器 构造器 说明 DubboResourceFactory(Object resourceInstance, Class scannableClass)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object
createResource(org.jboss.resteasy.spi.HttpRequest request, org.jboss.resteasy.spi.HttpResponse response, org.jboss.resteasy.spi.ResteasyProviderFactory factory)
Class<?>
getScannableClass()
void
registered(org.jboss.resteasy.spi.ResteasyProviderFactory factory)
void
requestFinished(org.jboss.resteasy.spi.HttpRequest request, org.jboss.resteasy.spi.HttpResponse response, Object resource)
void
unregistered()
-
-
-
方法详细资料
-
createResource
public Object createResource(org.jboss.resteasy.spi.HttpRequest request, org.jboss.resteasy.spi.HttpResponse response, org.jboss.resteasy.spi.ResteasyProviderFactory factory)
- 指定者:
createResource
在接口中org.jboss.resteasy.spi.ResourceFactory
-
getScannableClass
public Class<?> getScannableClass()
- 指定者:
getScannableClass
在接口中org.jboss.resteasy.spi.ResourceFactory
-
registered
public void registered(org.jboss.resteasy.spi.ResteasyProviderFactory factory)
- 指定者:
registered
在接口中org.jboss.resteasy.spi.ResourceFactory
-
requestFinished
public void requestFinished(org.jboss.resteasy.spi.HttpRequest request, org.jboss.resteasy.spi.HttpResponse response, Object resource)
- 指定者:
requestFinished
在接口中org.jboss.resteasy.spi.ResourceFactory
-
unregistered
public void unregistered()
- 指定者:
unregistered
在接口中org.jboss.resteasy.spi.ResourceFactory
-
-