类 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

        public DubboResourceFactory(Object resourceInstance,
                                    Class scannableClass)
    • 方法详细资料

      • 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