I have a javabean schemabinding in the Microcontainer module that does
this:

http://anoncvs.forge.jboss.com/viewrep/JBoss/microkernel/src/resources/schema/javabean_1_0.xsd?r=1.1

It is only in the Microcontainer module, because I reused the BeanInfo
model to do the reflection.

I think you'll find the problem with the legacy model is that
much of it isn't javabeans.
There are no setters because the values are read from the load method.

On Sun, 2006-02-05 at 16:11, Scott M Stark wrote:
> The simple immediate solution would be to take all of the interceptor
> attributes as string key/value pairs for java bean style properties that
> are passed to the
> org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties
> similar to the handling in the service configuration for
> serialDataType="javaBean".
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Scott M Stark
> Sent: Sunday, February 05, 2006 1:05 PM
> To: jboss-development@lists.sourceforge.net
> Subject: [JBoss-dev] Legacy xml config parsing
> 
> I have a need to externalize some configuration on a new security
> related interceptor and don't want to propagate the old XmlLoadable
> interface, even though it's the only way to do this currently. I could
> adapt some of the service xml support configuration mechanisms like
> serialDataType="javaBean | jbxb" (see
> http://wiki.jboss.org/wiki/Wiki.jsp?page=SERVICEdotXML), but introducing
> this piecewise for all of the extension points in the requires mods to
> many layers due to the XmlLoadable coupling configuration to
> implementation layers.
> 
> Anyone looked at trying to unify the legacy jboss.xml parsing into a
> jbossxb implementation that would help with this?
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
> _______________________________________________
> JBoss-Development mailing list
> JBoss-Development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> JBoss-Development mailing list
> JBoss-Development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Chief Scientist
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to