Top Fields Constructors Methods
io.undertow.servlet.util

public Class ImmediateInstanceFactory<T>

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

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final T

Constructor Summary

AccessConstructor and Description
public
ImmediateInstanceFactory(final T instance)

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

instanceback to summary
private final T instance

Constructor Detail

ImmediateInstanceFactoryback to summary
public ImmediateInstanceFactory(final T instance)

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