Interface DigesterLoaderHandlerFactory
- All Known Implementing Classes:
DefaultDigesterLoaderHandlerFactory
public interface DigesterLoaderHandlerFactory
An object capable of providing instances of
DigesterLoaderHandler.- Since:
- 2.1
-
Method Summary
Modifier and TypeMethodDescription<L extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>>
LnewInstance(Class<L> type) Return an instance of the specified type.
-
Method Details
-
newInstance
<L extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>> L newInstance(Class<L> type) throws DigesterLoadingException Return an instance of the specified type.- Type Parameters:
L-- Parameters:
type- the class of the object to be returned.- Returns:
- an instance of the specified class.
- Throws:
DigesterLoadingException- if any error occurs while creating thetypeinstance.
-