Alex, I'm also curious how this differs from the ServiceBindingManager. I have been using the ServiceBindingManager to put (almost) all of my configuration in a single, fairly simple file. I could give you a short wish list for the ServiceBindingManager, but I don't understand why we need a fourth configuration option in addition to 1) -service.xml files 2) xsl-sub-deployer 3) ServiceBindingManager. Regardless of the path you take, I think an understanding of the ServiceBindingManager would be a good starting point because it does much of what you are suggesting such as seperating out the MBean attribute values from the MBean XML templates.
If you're interested, here's my wish list for the ServiceBindingManager. 1. As an option to the XMLServicesStoreFactory, I would like to see a PropertyFileServicesStoreFactory that uses Java property file format instead of XML. The reason for this is that I would like to be able to access some of my JBoss configuration properties in an Ant script. 2. The ability to use the ServiceBindingManager to turn MBeans on or off. 3. Improvements to the AttributeMappingDelegate for setting XML attributes. This would (in my case) completely eliminate the need to ever use the XSLTConfigDelegate. 4. As you suggest, some interaction with a GUI wouldn't hurt, although it is not really needed in my case. Thanks, Matt Cleveland ----- Original Message ----- From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "David Jencks" <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 12:04 PM Subject: Re[2]: [JBoss-dev] -service.xml generator > Hello David, > > DJ> how does what you want differ from the *-ds.xml deployer in 3.2 and 4? > > just dealing with JMX agent view and not XML files. I think, it > would be easier, especially to start, to use some GUI instead of XML. > I am not talking about datasources only. Do you really think it's an overlap? > > DJ> It uses a chainable xsl-sub-deployer that transforms dd's on the fly. I > DJ> suspect there is considerable overlap with the foe-deployer transformation > DJ> stuff. > > Not yet. It just transforms DDs and doesn't generate/setup other services > like datasources, connection factories and so on. > > Thanks. > > alex > > DJ> david jencks > > DJ> On 2002.10.26 09:11:31 -0400 Alex Loubyansky wrote: > >> I am thinking about writting an MBean that will generate *-service.xml > >> files > >> for datasources. > >> I see it the following way. > >> - MBean attributes corresponding to values needed to construct > >> -service.xml > >> (such as url, driver, user, password, etc); > >> - XML template with dummy/default values; > >> - XSL stylesheet similar to what David wrote for -ds.xml; > >> - managed operation 'generate' that will transform XML template, > >> probably, > >> mostly substituting dummy values with managed attribute values. > >> > >> Actually, I am looking for a nice way to configure datasources in > >> FoeDeployer > >> but I think it could be useful behind it. > >> Also the same way any -service.xml file can be generated. > >> > >> Any thoughts? > >> Thanks. > > > -- > Best regards, > Alex Loubyansky > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
