[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 Sep 15 01:21:10 EDT 2008


"ALRubinger" wrote : 
  | * There are some formatting-only changes in Core SessionSpecContainer.  If possible can we exclude these? :)
  | 
  | 

Actually, there are quite a lot of formatting changes (which i will revert), but there are API related changes too. Example:

    
  | Index: core/src/main/java/org/jboss/ejb3/session/SessionSpecContainer.java
  | ===================================================================
  | --- core/src/main/java/org/jboss/ejb3/session/SessionSpecContainer.java	(revision 78500)
  | +++ core/src/main/java/org/jboss/ejb3/session/SessionSpecContainer.java	(working copy)
  | 
  | @Override
  |     protected void registerWithAopDispatcher()
  |     {
  | -      String registrationName = this.getObjectName().getCanonicalName();
  | +      String registrationName = this.getDispatcherRegistrationName();
  | 


       // Bind all appropriate references/factories to Global JNDI for Client access, if a JNDI Registrar is present
  |        if (registrar != null)
  |        {
  | -         String guid = Ejb3Registry.guid(this);
  | -         registrar.bindEjb(this.getInitialContext(), this.getMetaData(), this.getClassloader(), this.getObjectName()
  | -               .getCanonicalName(), guid, this.getAdvisor());
  | +         registrar.bindEjb(this);
  | 
  | 


@@ -726,7 +709,7 @@
  |        JndiSessionRegistrarBase jndiRegistrar = this.getJndiRegistrar();
  |        if (jndiRegistrar != null)
  |        {
  | -         jndiRegistrar.unbindEjb(this.getInitialContext(), this.getMetaData());
  | +         jndiRegistrar.unbindEjb(this);
  |  

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

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



More information about the jboss-dev-forums mailing list