|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.deployers.plugins.annotations.AbstractElement<A,M>
org.jboss.deployers.plugins.annotations.ClassElement<A,M>
A
- the annotation typeM
- the annotated element typepublic class ClassElement<A extends Annotation,M extends AnnotatedElement>
Class annotations element.
Field Summary |
---|
Fields inherited from class org.jboss.deployers.plugins.annotations.AbstractElement |
---|
annClass, className |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
ClassElement(ClassLoader classLoader,
String className,
Class<A> annClass,
A annotation)
|
Method Summary | |
---|---|
M |
getAnnotatedElement()
Get the annotated element that holds the annotation. |
protected ClassLoader |
getClassLoader()
Get the classloader from weak ref. |
protected Class<?> |
loadClass(String className)
Load class from class name. |
Methods inherited from class org.jboss.deployers.plugins.annotations.AbstractElement |
---|
equals, getAnnotation, getHashCode, getOwner, getOwnerClassName, readAnnotation |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassElement(ClassLoader classLoader, String className, Class<A> annClass, A annotation)
Method Detail |
---|
public M getAnnotatedElement()
Element
protected ClassLoader getClassLoader()
protected Class<?> loadClass(String className)
className
- the class name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |