Top Fields Constructors Methods
io.undertow.servlet.util

public Class ConstructorInstanceFactory<T>

extends Object
implements InstanceFactory<T>
Class Inheritance
All Implemented Interfaces
io.undertow.servlet.api.InstanceFactory
Imports
java.lang.reflect.Constructor, .InvocationTargetException, io.undertow.servlet.api.InstanceFactory, .InstanceHandle

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final Constructor<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InstanceHandle<T>
createInstance()

Implements io.undertow.servlet.api.InstanceFactory.createInstance.

Factory that creates a fully injected instance.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constructorback to summary
private final Constructor<T> constructor

Constructor Detail

ConstructorInstanceFactoryback to summary
public ConstructorInstanceFactory(final Constructor<T> constructor)

Method Detail

createInstanceback to summary
public InstanceHandle<T> createInstance() throws InstantiationException

Implements io.undertow.servlet.api.InstanceFactory.createInstance.

Doc from io.undertow.servlet.api.InstanceFactory.createInstance.

Factory that creates a fully injected instance.

Returns:InstanceHandle<T>

The fully injected instance

Annotations
@Override