From: <sco...@jb...> - 2005-08-01 23:10:18
|
There is no notion of templates in the current SARDeployer. So if users are not be be trusted with setting the object name to follow a pattern to use for querying har deployments, you can: 1. write an mbean that simply contains the service names of the har services. This does not even have to be an mbean service. The first har deployment could create a simply java bean. 2. simply bind the har service names into a set/list/array in jndi. 3. use XSLSubDeployer to create a templatized deployment like the *-ds.xml that does enforce the naming pattern using a trivial xslt style sheet: | <mbean code="org.jboss.deployment.XSLSubDeployer" name="jboss.har:service=HibernateDeployer"> | <attribute name="DdSuffix">-har.xml</attribute> | <attribute name="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</attribute> | </mbean> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887822#3887822 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887822 |