public class AnnotationProxy extends Object implements InvocationHandler, Serializable
Constructor and Description |
---|
AnnotationProxy(Class<?> annotationType,
Map valueMap) |
Modifier and Type | Method and Description |
---|---|
static Object |
createProxy(Map<String,Object> map,
Class<?> annotation)
Create a proxy implementation for the annotation class.
|
protected org.jboss.beans.info.spi.BeanInfo |
getBeanInfo()
Get bean info.
|
Object |
getValue(String name) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected org.jboss.beans.info.spi.BeanInfo getBeanInfo()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public static Object createProxy(Map<String,Object> map, Class<?> annotation) throws Exception
map
- - map of the annotation valuesannotation
- - the annotation classException
- for any errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.