I'm not following the example then as it does not match the existing jca
metadata/managed object view. What exists logically is:
| @ManagementObject
| class DSDeployments
| {
| @ManagementObject
| List<ConnMetaData> deployments();
| }
|
| @ManagementObject
| class ConnMetaData
| {
| @ManagementProperty(name="jndi-name")
| String getJndiName();
|
| @ManagementProperty(name="security-domain", managed=true)
| SecMetaData getSecMetaData();
| }
|
| @ManagementObject
| class SecMetaData
| {
| @ManagementProperty
| @ManagedObjectRef(type="SecurityDomain');
| String getDomain();
| }
|
Somewhere else there needs to be a type="SecurityDomain' managed object with a
name that matches the SecMetaData.domain value. If the
@ManagedObjectID(type="SecurityDomain") annotation is identifying the key space
of the managed objects of type="SecurityDomain' then I follow. Otherwise I
don't.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070691#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...