|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.annotation.WebBeansAnnotation
public class WebBeansAnnotation
Defines the Annotation implementation. It is used for creating
annotations from the XML configuration files.
| Constructor Summary | |
|---|---|
WebBeansAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Creates new annotation type object from given annotation type |
|
| Method Summary | |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
|
boolean |
equals(java.lang.Object other)
|
java.util.Map<java.lang.String,java.lang.Object> |
getAnnotationMembersValueMap()
Gets |
int |
hashCode()
|
java.lang.Object |
invoke(java.lang.Object self,
java.lang.reflect.Method m,
java.lang.reflect.Method proceed,
java.lang.Object[] args)
Javassist proxy object method handler. |
void |
setMemberValue(java.lang.String memberName,
java.lang.Object memberValue)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebBeansAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - annotation class type| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object self,
java.lang.reflect.Method m,
java.lang.reflect.Method proceed,
java.lang.Object[] args)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
Annotation types.
If method is not implemented by this proxy, then proceed method is null. So, if the method is in the implemented annotation member method, then it is taken from the map values of this annotation member values.
invoke in interface javassist.util.proxy.MethodHandlerself - proxy objectm - method invoked methodproceed - actual method on this proxy object selfargs - method arguments
java.lang.Exception - if any exception occurs
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessExceptionpublic java.util.Map<java.lang.String,java.lang.Object> getAnnotationMembersValueMap()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotation
public void setMemberValue(java.lang.String memberName,
java.lang.Object memberValue)
public java.lang.String toString()
toString in interface java.lang.annotation.AnnotationtoString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in interface java.lang.annotation.Annotationequals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.lang.annotation.AnnotationhashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||