[jboss-dev-forums] [Design of EJB 3.0] - Re: EJBTHREE-1454 Encapsulate Container infomation in TO/VO

jaikiran do-not-reply at jboss.com
Mon Aug 25 11:52:28 EDT 2008


"ALRubinger" wrote : 
  | getName() is inherited by way of EJBContainer...
  | 
  | 

The name in the EJBContainer is being set by the SessionContainer as follows:

super(Ejb3Module.BASE_EJB3_JMX_NAME + ",name=" + ejbName,...);

Relying on the getName implementation of the EJBContainer (which just returns this name), results in failure of a couple of tests in the EJB Core. I have provided an overriden implementation in SessionContainer which does this:

  |  public String getName()
  |    {
  |       return this.getObjectName().getCanonicalName();
  |    }

Question:

The SessionContainer, is using the deprecated Ejb3Module to create a name for the container. Do you want me to change (and test) the SessionContainer to create the name as follows:

super(JavaEEComponentHelper.createObjectName(deployment,ejbName), ...);
  | 


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

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



More information about the jboss-dev-forums mailing list