[webbeans-commits] Webbeans SVN: r2419 - ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Apr 15 12:33:39 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-04-15 12:33:39 -0400 (Wed, 15 Apr 2009)
New Revision: 2419

Modified:
   ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java
Log:
minor

Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java	2009-04-15 14:27:58 UTC (rev 2418)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java	2009-04-15 16:33:39 UTC (rev 2419)
@@ -80,6 +80,11 @@
   
    // The log provider
    private static Log log = Logging.getLog(WebBeansBootstrap.class);
+   
+   static
+   {
+	   log.info("Web Beans " + getVersion());
+   }
 
    // The Web Beans manager
    private ManagerImpl manager;
@@ -164,7 +169,6 @@
    {
       synchronized (this)
       {
-         log.info("Starting Web Beans RI " + getVersion());
          if (manager == null)
          {
             throw new IllegalStateException("Manager has not been initialized");
@@ -193,10 +197,10 @@
          {
             manager.setEnabledDeploymentTypes(enabledDeploymentTypes);
          }
-         log.info("Deployment types: " + manager.getEnabledDeploymentTypes());
+         log.debug("Deployment types: " + manager.getEnabledDeploymentTypes());
          registerBeans(getServices().get(WebBeanDiscovery.class).discoverWebBeanClasses(), xmlEnvironmentImpl.getClasses(), xmlEnvironmentImpl.getResourceBeans(), ejbDescriptors);
          manager.fireEvent(manager, new InitializedLiteral());
-         log.info("Web Beans initialized. Validating beans.");
+         log.debug("Web Beans initialized. Validating beans.");
          manager.getResolver().resolveInjectionPoints();
          new BeanValidator(manager).validate();
          manager.fireEvent(manager, new DeployedLiteral());




More information about the weld-commits mailing list