[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Extending jboss-beans.xml schema?
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Mar 6 16:33:48 EST 2009
It looks like its a side-effect of the SecurityParser deployer:
| <bean name="SecurityParser" class="org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer">
| <constructor>
| <parameter>org.jboss.security.microcontainer.beans.metadata.SecurityPolicyMetaData</parameter>
| </constructor>
| <!-- The Deployer mandates this suffix. So we use a dummy -->
| <property name="suffix">dummy-policy.xml</property>
| <property name="registerWithJBossXB">true</property>
| </bean>
|
The SecurityPolicyMetaData declares:
| @JBossXmlSchema(namespace = "urn:jboss:security-beans:1.0", elementFormDefault = XmlNsForm.QUALIFIED)
| @XmlRootElement(name = "policy")
| @XmlType(name = "policyType", propOrder = {"appPolicies"})
| public class SecurityPolicyMetaData implements BeanMetaDataFactory
|
SchemaResolverDeployer is calling JBossXBDeployerHelper.addClassBinding when the registerWithJBossXB is true.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215878#4215878
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215878
More information about the jboss-dev-forums
mailing list