dain        2005/05/08 15:37:06

  Modified:    modules/core/src/java/org/openejb/mejb MEJB.java
  Log:

  Added KernelFactory for pluggable kernel
  Kernel is now an interface
  Moved Kernel implementation  to basic kernel
  Converted JMX registry and config manager to plain old gbeans (they do not 
require special access to the kernel)
  Magic attributes such as state and enabled are now accessed via kernel methods
  Use of getAttribute and invoke for magic attributes and state transition is 
now deprecated
  Cleaned up cruft in GBean infos such as declaration of non existent attributes
  Upgraded to newest CGLIB, asm, and commons-collections
  
  Revision  Changes    Path
  1.4       +7 -7      openejb/modules/core/src/java/org/openejb/mejb/MEJB.java
  
  Index: MEJB.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/mejb/MEJB.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MEJB.java 15 Mar 2005 05:27:08 -0000      1.3
  +++ MEJB.java 8 May 2005 19:37:06 -0000       1.4
  @@ -145,23 +145,23 @@
           return objectName;
       }
   
  -    public String getEJBName() {
  +    public String getEjbName() {
           return ejbName;
       }
   
  -    public EJBHome getEJBHome() {
  +    public EJBHome getEjbHome() {
           return proxyFactory.getEJBHome();
       }
   
  -    public EJBObject getEJBObject(Object primaryKey) {
  +    public EJBObject getEjbObject(Object primaryKey) {
           return proxyFactory.getEJBObject(primaryKey);
       }
   
  -    public EJBLocalHome getEJBLocalHome() {
  +    public EJBLocalHome getEjbLocalHome() {
           return proxyFactory.getEJBLocalHome();
       }
   
  -    public EJBLocalObject getEJBLocalObject(Object primaryKey) {
  +    public EJBLocalObject getEjbLocalObject(Object primaryKey) {
           return proxyFactory.getEJBLocalObject(primaryKey);
       }
   
  @@ -222,7 +222,7 @@
           EJBInvocation ejbInvocation = (EJBInvocation) invocation;
           int methodIndex = methodMap[ejbInvocation.getMethodIndex()];
           if (methodIndex == CREATE_INDEX) {
  -            return new SimpleInvocationResult(true, getEJBObject(null));
  +            return new SimpleInvocationResult(true, getEjbObject(null));
           }
           try {
               return new SimpleInvocationResult(true, 
fastClass.invoke(methodIndex, this, ejbInvocation.getArguments()));
  
  
  

Reply via email to