dain        2005/12/01 03:34:50

  Modified:    modules/core/src/java/org/openejb ContainerIndex.java
                        EJBModuleImpl.java GenericEJBContainer.java
  Log:

  Changed gbean info generation to create a static gbean info
  
  Revision  Changes    Path
  1.17      +2 -2      
openejb/modules/core/src/java/org/openejb/ContainerIndex.java
  
  Index: ContainerIndex.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/ContainerIndex.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ContainerIndex.java       6 Mar 2005 02:49:24 -0000       1.16
  +++ ContainerIndex.java       1 Dec 2005 08:34:48 -0000       1.17
  @@ -212,7 +212,7 @@
       public static final GBeanInfo GBEAN_INFO;
   
       static {
  -        GBeanInfoBuilder infoFactory = new 
GBeanInfoBuilder(ContainerIndex.class); //name apparently hardcoded
  +        GBeanInfoBuilder infoFactory = 
GBeanInfoBuilder.createStatic(ContainerIndex.class); //name apparently hardcoded
   
           infoFactory.setConstructor(new String[]{"EJBContainers"});
   
  
  
  
  1.19      +2 -2      
openejb/modules/core/src/java/org/openejb/EJBModuleImpl.java
  
  Index: EJBModuleImpl.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/EJBModuleImpl.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- EJBModuleImpl.java        14 Sep 2005 17:55:05 -0000      1.18
  +++ EJBModuleImpl.java        1 Dec 2005 08:34:49 -0000       1.19
  @@ -207,7 +207,7 @@
       public static final GBeanInfo GBEAN_INFO;
   
       static {
  -        GBeanInfoBuilder infoBuilder = new 
GBeanInfoBuilder(EJBModuleImpl.class, NameFactory.EJB_MODULE);
  +        GBeanInfoBuilder infoBuilder = 
GBeanInfoBuilder.createStatic(EJBModuleImpl.class, NameFactory.EJB_MODULE);
           infoBuilder.addReference("J2EEServer", J2EEServer.class);
           infoBuilder.addReference("J2EEApplication", J2EEApplication.class);
   
  
  
  
  1.57      +2 -2      
openejb/modules/core/src/java/org/openejb/GenericEJBContainer.java
  
  Index: GenericEJBContainer.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/GenericEJBContainer.java,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- GenericEJBContainer.java  18 Nov 2005 00:42:05 -0000      1.56
  +++ GenericEJBContainer.java  1 Dec 2005 08:34:49 -0000       1.57
  @@ -447,7 +447,7 @@
       public static final GBeanInfo GBEAN_INFO;
   
       static {
  -        GBeanInfoBuilder infoFactory = new 
GBeanInfoBuilder(GenericEJBContainer.class); //we don't know the j2eeType
  +        GBeanInfoBuilder infoFactory = 
GBeanInfoBuilder.createStatic(GenericEJBContainer.class); //we don't know the 
j2eeType
   
           infoFactory.addAttribute("containerID", Object.class, true);
           infoFactory.addAttribute("ejbName", String.class, true);
  
  
  

Reply via email to