|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractAnnotationMetaData
public class AbstractAnnotationMetaData
Metadata for an annotation.
| Field Summary | |
|---|---|
String |
annotation
|
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
AbstractAnnotationMetaData()
Create a new annotation meta data |
|
AbstractAnnotationMetaData(String annotation)
|
|
| Method Summary | |
|---|---|
AbstractAnnotationMetaData |
clone()
Clone the object |
void |
describeVisit(MetaDataVisitor vistor)
Revisit the node |
boolean |
equals(Object object)
|
String |
getAnnotation()
|
Annotation |
getAnnotationInstance()
Get the annotation using the thread context classloader |
Annotation |
getAnnotationInstance(ClassLoader cl)
Get the annotation using passed in classloader |
Iterator<? extends MetaDataVisitorNode> |
getChildren()
Return the child nodes |
protected int |
getHashCode()
|
void |
initialVisit(MetaDataVisitor visitor)
Visit the node |
boolean |
isReplace()
|
Annotation |
removeAnnotation()
Retrieve any cached annotation and flush it |
void |
setAnnotation(String annotation)
|
void |
setReplace(boolean replace)
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
toShortString |
| Field Detail |
|---|
public String annotation
| Constructor Detail |
|---|
public AbstractAnnotationMetaData()
public AbstractAnnotationMetaData(String annotation)
| Method Detail |
|---|
public String getAnnotation()
public void setAnnotation(String annotation)
public boolean isReplace()
public void setReplace(boolean replace)
public Annotation getAnnotationInstance()
AnnotationMetaData
getAnnotationInstance in interface AnnotationMetaDatapublic Annotation getAnnotationInstance(ClassLoader cl)
AnnotationMetaData
getAnnotationInstance in interface AnnotationMetaDatacl - The classloader
public Annotation removeAnnotation()
CachingAnnotationMetaData
removeAnnotation in interface CachingAnnotationMetaDatapublic void initialVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
initialVisit in interface MetaDataVisitorNodevisitor - the visitorpublic void describeVisit(MetaDataVisitor vistor)
MetaDataVisitorNode
describeVisit in interface MetaDataVisitorNodevistor - the visitorpublic Iterator<? extends MetaDataVisitorNode> getChildren()
MetaDataVisitorNode
getChildren in interface MetaDataVisitorNodepublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObjectprotected int getHashCode()
getHashCode in class org.jboss.util.JBossObjectpublic boolean equals(Object object)
equals in class Objectpublic AbstractAnnotationMetaData clone()
MetaDataVisitorNode
clone in interface MetaDataVisitorNodeclone in interface org.jboss.util.JBossInterfaceclone in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||