[jboss-user] [Microcontainer] - Re: MC picking up irrelevant deployers

jaikiran do-not-reply at jboss.com
Tue Jun 9 06:22:17 EDT 2009

"alesj" wrote : 
  | Simply short circuit it on the first line of deploy(),
  | and all you would gain is one more invocation, which almost shouldn't show. 

I think we will instead change the EJB3Deployer to extend from AbstractSimpleVFSRealDeployer and let the addInput(MergedJBossMetaDataDeployer.EJB_MERGED_ATTACHMENT_NAME); remain to allow proper ordering:

public class Ejb3Deployer extends AbstractSimpleVFSRealDeployer<JBossMetaData>
  | {
  |    public Ejb3Deployer()
  |    {
  |       addInput(MergedJBossMetaDataDeployer.EJB_MERGED_ATTACHMENT_NAME);

"alesj" wrote : 
  | If that's just a String key, that's a special use case.

I didn't get this. You mean deployers aren't expected (in general) to have a String key as a requirement? 

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

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

More information about the jboss-user mailing list