From: <sco...@jb...> - 2005-05-04 01:32:13
|
I have added another example to the existing head testsuite/xml tests that illustrates a complete deployment document that involves 3 namespaces/schemas for a prototype dynamic login configuration service. The deployment document is the src/resources/testObjFactory.xml which is a simple jboss-4.0.x style mbean service descriptor. The namespace/xsd/object mappings are: ns#1: urn:jboss:mbean-service xsd#1: mbean-service_1_0.xsd objects#1: org.jboss.test.xml.mbeanserver.{Services,MBeanData} ns#2: urn:jboss:login-config2 xsd#2: login-config2.xsd objects#2: org.jboss.test.xml.mbeanserver.{PolicyConfig,AuthenticationInfo,AppConfigurationEntryHolder,ModuleOption} ns#3: urn:jboss:user-roles xsd#3: user-roles.xsd objects#3: org.jboss.test.xml.mbeanserver.{Users,Users.User} A number of these objects do not have java bean setters. The constructor is the only way to pass in the read-only data in this case. Many use collection classes. I would like to iterate on the schemas/object model to a point where the object graph can be completely driven by the schema binding. I also want to create a pojo server version which excercies the dependcies. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876364#3876364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876364 |