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

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


Subclassed deployers would have called setName in the constructor of the subclass.

Now an user who wants to have something like:

  |   <bean name="specialdeployer" class="subclassOfAbsParsDeplWithOut">
  |       <property name="sec-config.xml" />
  |   </bean>
  | 

will see the IllegalArgumentException because of a setName call when the ctr of "specialdeployer" would have called setName with a standard name of metadata file.

Just a doubt.

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

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



More information about the jboss-dev-forums mailing list