java.lang.Object
org.jboss.resteasy.reactive.server.core.reflection.ReflectiveContextInjectedBeanFactory<T>
- All Implemented Interfaces:
org.jboss.resteasy.reactive.spi.BeanFactory<T>
public class ReflectiveContextInjectedBeanFactory<T>
extends Object
implements org.jboss.resteasy.reactive.spi.BeanFactory<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.spi.BeanFactory
org.jboss.resteasy.reactive.spi.BeanFactory.BeanInstance<T>
-
Field Summary
Fields
static final Function<Class<?>,org.jboss.resteasy.reactive.spi.BeanFactory<?>>
static final Function<String,org.jboss.resteasy.reactive.spi.BeanFactory<?>>
-
Constructor Summary
Constructors
-
Method Summary
static <T> org.jboss.resteasy.reactive.spi.BeanFactory<T>
static <T> org.jboss.resteasy.reactive.spi.BeanFactory<T>
org.jboss.resteasy.reactive.spi.BeanFactory.BeanInstance<T>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
FACTORY
public static final Function<Class<?>,org.jboss.resteasy.reactive.spi.BeanFactory<?>> FACTORY
-
STRING_FACTORY
public static final Function<String,org.jboss.resteasy.reactive.spi.BeanFactory<?>> STRING_FACTORY
-
Constructor Details
-
ReflectiveContextInjectedBeanFactory
public ReflectiveContextInjectedBeanFactory(Constructor<T> constructor)
-
Method Details
-
create
public static <T>
org.jboss.resteasy.reactive.spi.BeanFactory<T> create(Class<?> clazz)
-
create
public static <T>
org.jboss.resteasy.reactive.spi.BeanFactory<T> create(String name)
-
createInstance
public org.jboss.resteasy.reactive.spi.BeanFactory.BeanInstance<T> createInstance()
- Specified by:
createInstance in interface org.jboss.resteasy.reactive.spi.BeanFactory<T>