[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Need a NamedObject SimpleMetaType
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Aug 3 11:52:16 EDT 2007
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#4070691
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070691
More information about the jboss-dev-forums
mailing list