|
||||||||||
| 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(Class<? extends Annotation> annotationType)
Creates new annotation type object from given annotation type |
|
| Method Summary | |
|---|---|
Class<? extends Annotation> |
annotationType()
|
boolean |
equals(Object other)
|
Map<String,Object> |
getAnnotationMembersValueMap()
Gets |
int |
hashCode()
|
Object |
invoke(Object self,
Method m,
Method proceed,
Object[] args)
Javassist proxy object method handler. |
void |
setMemberValue(String memberName,
Object memberValue)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebBeansAnnotation(Class<? extends Annotation> annotationType)
annotationType - annotation class type| Method Detail |
|---|
public Object invoke(Object self,
Method m,
Method proceed,
Object[] args)
throws InvocationTargetException,
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
Exception - if any exception occurs
InvocationTargetException
IllegalAccessExceptionpublic Map<String,Object> getAnnotationMembersValueMap()
public Class<? extends Annotation> annotationType()
annotationType in interface Annotation
public void setMemberValue(String memberName,
Object memberValue)
public String toString()
toString in interface AnnotationtoString in class Objectpublic boolean equals(Object other)
equals in interface Annotationequals in class Objectpublic int hashCode()
hashCode in interface AnnotationhashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||