public interface AnnotationHandlerFactory
AnnotationHandler
.Modifier and Type | Method and Description |
---|---|
<H extends AnnotationHandler<? extends Annotation,? extends AnnotatedElement>> |
newInstance(Class<H> type)
Return an instance of the specified type.
|
<H extends AnnotationHandler<? extends Annotation,? extends AnnotatedElement>> H newInstance(Class<H> type) throws Exception
H
- The AnnotationHandler
type has to be createdtype
- the class of the object to be returned.Exception
- if any error occurs while creating the AnnotationHandler
instance.Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.