User: schaefera
  Date: 02/04/10 13:04:50

  Modified:    src/main/org/jboss/ejb Tag: Branch_2_4 ContainerFactory.java
  Log:
  Adjusted the Scheduler Example and removed JSR-77 stuff because this was
  just a test.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.77.2.10 +3 -15     jboss/src/main/org/jboss/ejb/Attic/ContainerFactory.java
  
  Index: ContainerFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/Attic/ContainerFactory.java,v
  retrieving revision 1.77.2.9
  retrieving revision 1.77.2.10
  diff -u -r1.77.2.9 -r1.77.2.10
  --- ContainerFactory.java     28 Dec 2001 22:35:13 -0000      1.77.2.9
  +++ ContainerFactory.java     10 Apr 2002 20:04:49 -0000      1.77.2.10
  @@ -83,7 +83,7 @@
   *   @author Peter Antman ([EMAIL PROTECTED])
   *   @author Scott Stark([EMAIL PROTECTED])
   *
  -*   @version $Revision: 1.77.2.9 $
  +*   @version $Revision: 1.77.2.10 $
   */
   public class ContainerFactory
      extends org.jboss.util.ServiceMBeanSupport
  @@ -402,20 +402,6 @@
   
            throw new DeploymentException( "Could not deploy " + appUrl.toString(), e 
);
         }
  -      // Inform the Data Collector that new/old EJBs were deployed
  -      try
  -      {
  -         getServer().invoke(
  -            new ObjectName( "Management", "service", "Collector" ),
  -            "refresh",
  -            new Object[] {},
  -            new String[] {}
  -            );
  -      }
  -      catch( Exception e )
  -      {
  -         e.printStackTrace();
  -      }
      }
   
      private void deploy( Application app, URL url, ClassLoader cl )
  @@ -711,6 +697,7 @@
      * it or it destroy it.
      **/
      private void handleContainerManagement( Container container, boolean doStart ) {
  +/* AS Remove if OK
         try {
            // Create and register the ContainerMBean
            ObjectName name = new ObjectName( "Management", "jndiName", 
container.getBeanMetaData().getJndiName() );
  @@ -744,6 +731,7 @@
               e.printStackTrace();
            }
         }
  +*/
      }
   
      /** Perform the common steps to initializing a container.
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to