I guess this is a bug:
| AbstractManagedObjectFactory:
|
| public MetaValue getValue(BeanInfo beanInfo, ManagedProperty property, Serializable
object)
| {
| ...
| // Look for a ManagementObjectID
| ManagementObjectID id = (ManagementObjectID)
property.getAnnotations().get(ManagementObjectID.class.getName());
|
I guess it should be:
| // Look for a ManagementObjectRef
| ManagementObjectRef ref = (ManagementObjectRef)
property.getAnnotations().get(ManagementObjectRef.class.getName());
| String moName = (ref != null ? ref.name() : value.getClass().getName());
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092808#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...