Package io.undertow.servlet.util
Class ConstructorInstanceFactory<T>
- java.lang.Object
-
- io.undertow.servlet.util.ConstructorInstanceFactory<T>
-
- All Implemented Interfaces:
InstanceFactory<T>
public class ConstructorInstanceFactory<T> extends Object implements InstanceFactory<T>
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ConstructorInstanceFactory(Constructor<T> constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceHandle<T>createInstance()Factory that creates a fully injected instance.
-
-
-
Constructor Detail
-
ConstructorInstanceFactory
public ConstructorInstanceFactory(Constructor<T> constructor)
-
-
Method Detail
-
createInstance
public InstanceHandle<T> createInstance() throws InstantiationException
Description copied from interface:InstanceFactoryFactory that creates a fully injected instance.- Specified by:
createInstancein interfaceInstanceFactory<T>- Returns:
- The fully injected instance
- Throws:
InstantiationException
-
-