[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: jee module's alt-dd
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Mar 26 17:00:21 EDT 2008
The only issue is how to generically integrate the alt-dd path. Most ee descriptor has an alt-dd child of the root element, so one way to handle this would be to extend AbstractParsingDeployerWithOutput to have an alt-dd property that specifies element name of the alt-dd, and createMetaData(DeploymentUnit unit, String name, String suffix, String key) would do a simple jaxp query of the document to see if alt-dd path name exists. It would have to be encapsulated in another abstract method like:
| protected abstract String getAltName(DeploymentUnit unit, String name) throws Exception;
|
as we don't know how to obtain the input stream for the name at the AbstractParsingDeployerWithOutput level. The jaxp default impl would have to be added to AbstractVFSParsingDeployer.
http://jira.jboss.com/jira/browse/JBDEPLOY-27
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139097#4139097
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139097
More information about the jboss-dev-forums
mailing list