Package io.undertow.servlet.api
Interface InstanceFactory<T>
-
- All Known Implementing Classes:
ConstructorInstanceFactory
,ImmediateInstanceFactory
public interface InstanceFactory<T>
Factory that creates fully injected component instances.- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceHandle<T>
createInstance()
Factory that creates a fully injected instance.
-
-
-
Method Detail
-
createInstance
InstanceHandle<T> createInstance() throws java.lang.InstantiationException
Factory that creates a fully injected instance.- Returns:
- The fully injected instance
- Throws:
java.lang.InstantiationException
-
-