Interface DigesterLoaderHandlerFactory
-
- All Known Implementing Classes:
DefaultDigesterLoaderHandlerFactory
public interface DigesterLoaderHandlerFactory
An object capable of providing instances ofDigesterLoaderHandler
.- Since:
- 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <L extends DigesterLoaderHandler<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement>>
LnewInstance(java.lang.Class<L> type)
Return an instance of the specified type.
-
-
-
Method Detail
-
newInstance
<L extends DigesterLoaderHandler<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement>> L newInstance(java.lang.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 thetype
instance.
-
-