[jboss-dev-forums] [Design of POJO Server] - AbstractParsingDeployerWithOutput->setName

anil.saldhana@jboss.com do-not-reply at jboss.com
Wed Mar 18 16:32:53 EDT 2009


http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/tags/2.0.5.GA/deployers-spi/src/main/java/org/jboss/deployers/spi/deployer/helpers/AbstractParsingDeployerWithOutput.java

There is a setName method that will choke when a second call on the setName happens.  Why not have "addName".

This is bound to fail in cases such as the following:
http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_5_0_1_GA/server/src/main/org/jboss/deployment/WebAppParsingDeployer.java

Look at the "setWebXmlPath" property setter when someone tries to configure a metadata file that is not "web.xml"

Maybe an "addName" method is useful?  

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219240#4219240

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219240



More information about the jboss-dev-forums mailing list