Interface DigesterLoaderHandlerFactory

    • 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 the type instance.