org.jboss.system.metadata
Class ServiceAnnotationMetaData

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.system.metadata.ServiceAnnotationMetaData
All Implemented Interfaces:
Serializable, Cloneable, org.jboss.util.JBossInterface

public class ServiceAnnotationMetaData
extends org.jboss.util.JBossObject
implements Serializable

Service annotation metadata

Version:
$Revision: 85945 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Field Summary
protected  Annotation ann
           
 String annotation
           
protected  boolean replace
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
ServiceAnnotationMetaData()
          Create a new annotation meta data
ServiceAnnotationMetaData(String ann)
          Create a new annotation meta data
 
Method Summary
 boolean equals(Object object)
           
 String getAnnotation()
           
 Annotation getAnnotationInstance()
           
 Annotation getAnnotationInstance(ClassLoader cl)
           
protected  int getHashCode()
           
 boolean isReplace()
           
 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, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

annotation

public String annotation

ann

protected Annotation ann

replace

protected boolean replace
Constructor Detail

ServiceAnnotationMetaData

public ServiceAnnotationMetaData()
Create a new annotation meta data


ServiceAnnotationMetaData

public ServiceAnnotationMetaData(String ann)
Create a new annotation meta data

Parameters:
ann - - the annotation declaration
Method Detail

getAnnotation

public String getAnnotation()

setAnnotation

public void setAnnotation(String annotation)

isReplace

public boolean isReplace()

setReplace

public void setReplace(boolean replace)

getAnnotationInstance

public Annotation getAnnotationInstance()

getAnnotationInstance

public Annotation getAnnotationInstance(ClassLoader cl)

toString

public void toString(org.jboss.util.JBossStringBuilder buffer)
Overrides:
toString in class org.jboss.util.JBossObject

toShortString

public void toShortString(org.jboss.util.JBossStringBuilder buffer)
Specified by:
toShortString in interface org.jboss.util.JBossInterface
Overrides:
toShortString in class org.jboss.util.JBossObject

getHashCode

protected int getHashCode()
Overrides:
getHashCode in class org.jboss.util.JBossObject

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.