|
||||||||||
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>
A
- the annotation typeM
- the annotated element typepublic abstract class AbstractElement<A extends Annotation,M extends AnnotatedElement>
Abstract annotations element.
Field Summary | |
---|---|
protected Class<A> |
annClass
|
protected String |
className
|
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
AbstractElement(ClassLoader classLoader,
String className,
Class<A> annClass,
A annotation)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
A |
getAnnotation()
Get the annotation instance. |
protected ClassLoader |
getClassLoader()
Get the classloader from weak ref. |
int |
getHashCode()
|
Class<?> |
getOwner()
Get the annotation owner class. |
String |
getOwnerClassName()
Get the owner class name. |
protected Class<?> |
loadClass(String className)
Load class from class name. |
protected A |
readAnnotation()
Read the annotation. |
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 |
Methods inherited from interface org.jboss.deployers.spi.annotations.Element |
---|
getAnnotatedElement |
Field Detail |
---|
protected String className
protected Class<A extends Annotation> annClass
Constructor Detail |
---|
public AbstractElement(ClassLoader classLoader, String className, Class<A> annClass, A annotation)
Method Detail |
---|
public String getOwnerClassName()
Element
getOwnerClassName
in interface Element<A extends Annotation,M extends AnnotatedElement>
public Class<?> getOwner()
Element
getOwner
in interface Element<A extends Annotation,M extends AnnotatedElement>
public A getAnnotation()
Element
getAnnotation
in interface Element<A extends Annotation,M extends AnnotatedElement>
protected A readAnnotation()
public int getHashCode()
getHashCode
in class org.jboss.util.JBossObject
public boolean equals(Object obj)
equals
in class Object
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 |