org.jboss.deployers.plugins.annotations
Class ParametersElement<A extends Annotation,M extends AnnotatedElement>
java.lang.Object
org.jboss.util.JBossObject
org.jboss.deployers.plugins.annotations.AbstractElement<A,M>
org.jboss.deployers.plugins.annotations.DefaultElement<A,M>
org.jboss.deployers.plugins.annotations.ParametersElement<A,M>
- Type Parameters:
A
- the annotation typeM
- the annotated element type
- All Implemented Interfaces:
- Cloneable, Element<A,M>, org.jboss.util.JBossInterface
public class ParametersElement<A extends Annotation,M extends AnnotatedElement>
- extends DefaultElement<A,M>
Parameters annotations element.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
ParametersElement
public ParametersElement(ClassLoader classLoader,
String className,
org.jboss.metadata.spi.signature.Signature signature,
Class<A> annClass,
A annotation,
Class<M> aoClass)
readAnnotation
protected A readAnnotation()
- Description copied from class:
AbstractElement
- Read the annotation.
- Overrides:
readAnnotation
in class AbstractElement<A extends Annotation,M extends AnnotatedElement>
- Returns:
- the read annotation
getClassLoader
protected ClassLoader getClassLoader()
- Get the classloader from weak ref.
- Returns:
- the classloader
loadClass
protected Class<?> loadClass(String className)
- Load class from class name.
- Parameters:
className
- the class name
- Returns:
- loaded class
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.