"adrian(a)jboss.org" wrote :
| Why do you want to do this? This is usually horrible.
| Is this the old XmlLoadable stuff?
|
It is to support the ClassMetaData stuff, e.g. I need to be able to translate the
following -aop.xml style stuff
| <metadata tag="SomeTag"
class="org.jboss.test.aop.bean.POJOConstructorTest">
| <constructor expr="POJO()">
| <data>ctor</data>
| </constructor>
| <method expr="int *(..)">
| <data>method1</data>
| </method>
| <method expr="void *()">
| <data>method2</data>
| </method>
| </metadata>
|
into
| <bean name="ClassMetaData"
class="org.jboss.aop.microcontainer.beans2.ClassMetaData">
| <property name="manager"><inject
bean="AspectManager"/></property>
| <property name="tag">SomeTag</property>
| <property
name="className">org.jboss.test.microcontainer.beans2.POJO</property>
| <property name="element">
| <![CDATA[
| <metadata>
| <constructor expr="POJO()">
| <data>ctor</data>
| </constructor>
| <method expr="int *(..)">
| <data>method1</data>
| </method>
| <method expr="void *()">
| <data>method2</data>
| </method>
| </metadata>
| ]]>
| </property>
| </bean>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106651#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...