[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Property replacement
alesj
do-not-reply at jboss.com
Sat Jan 27 13:44:13 EST 2007
How do we change this:
| <xsd:simpleType name="annotationType">
| <xsd:annotation>
| <xsd:documentation>
| <![CDATA[
| The annotation type represents a Java5 annotation on the particular join point.
| ]]>
| </xsd:documentation>
| </xsd:annotation>
| <xsd:restriction base="xsd:string">
| <xsd:whiteSpace value="collapse"/>
| </xsd:restriction>
| </xsd:simpleType>
|
so that I can add an this (replace="false"):
<annotation replace="false">@SomeAnnotation</annotation>
Is it ok that we have StringPropertyReplacer in AbstractAnnotationMetaData?
String annString = StringPropertyReplacer.replaceProperties(annotation);
| //FIXME [JBMICROCONT-99] [JBAOP-278] Use the loader for the bean?
| ann = (Annotation)AnnotationCreator.createAnnotation(annString, Thread.currentThread().getContextClassLoader());
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007231#4007231
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007231
More information about the jboss-dev-forums
mailing list