[JBoss-dev] [EJB on JBoss] - Which method will be invoked on Container?

2004-06-18 Thread liu_linux
I am interested in JDBCCMRFieldBridge in Jboss3.2.3. We create an instance of CMRInvocation in line 943 and use it to invoke the container in line 952. But I am puzzled in latter invocations. Which method will be invoked on EntityContainer on earth after the request goes through the interceptor

[JBoss-dev] [EJB on JBoss] - a Question about passivating StatefulSessionBean and EntityB

2004-06-09 Thread liu_linux
Hi, I am reading JBoss 3.2.3 and have a question about passivating StatefulSessionBean instance and EntityBean instance. There are fellow statements, which are in line 120, StatefulSessionInstanceCache.java, used to decide if a SFSB instance can be passivated. if (ctx.getTransaction() != null)

[JBoss-dev] [EJB on JBoss] - a question about JDBCCreateBeanClassInstanceCommand

2004-05-28 Thread liu_linux
Hi, I am reading JBoss 3.2.3 and have a question about the constructor of class JDBCCreateBeanClassInstanceCommand. There are follow statements in the constructor: beanClass = theContainer.getBeanClass(); fieldMap = createFieldMap(); selectorMap = createSelectorMap(); // us

[JBoss-dev] [EJB on JBoss] - Why not call getLockManager.removeLockRef?

2004-05-21 Thread liu_linux
Hi, I read the source code and find we do not call getLockManager.removeLockRef(id) at the end of StatefulSessionContainer.getEJBObject(). I think it is a bug because it may cause the lock-leak. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835770#3835770

[JBoss-dev] [EJB on JBoss] - Why there is a "list-entity"?

2004-05-21 Thread liu_linux
I searched Âlist-entity and ÂlistEntityInterceptorClasses in all source files when I configured Âlist-entityÂ, ÂhomeÂ, and Âbean in standardjboss.xml for client-interceptor. But unlike beanInterceptorClasses and homeInterceptorClasses, I found there is no use for listEntityInterceptorClasses