dain        2005/12/01 03:34:52

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

  Changed gbean info generation to create a static gbean info
  
  Revision  Changes    Path
  1.8       +2 -2      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MEJB.java 15 Sep 2005 00:00:31 -0000      1.7
  +++ MEJB.java 1 Dec 2005 08:34:51 -0000       1.8
  @@ -239,7 +239,7 @@
       public static final GBeanInfo GBEAN_INFO;
   
       static {
  -        GBeanInfoBuilder infoBuilder = new GBeanInfoBuilder(MEJB.class, 
org.apache.geronimo.j2ee.mejb.MEJB.GBEAN_INFO, 
NameFactory.STATELESS_SESSION_BEAN);
  +        GBeanInfoBuilder infoBuilder = 
GBeanInfoBuilder.createStatic(MEJB.class, 
org.apache.geronimo.j2ee.mejb.MEJB.GBEAN_INFO, 
NameFactory.STATELESS_SESSION_BEAN);
           infoBuilder.addInterface(EJBContainer.class);
   
           infoBuilder.setConstructor(new String[]{"objectName", "kernel"});
  
  
  

Reply via email to