Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2419 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Apr 15, 2009
1 parent ef494f7 commit 855be6e
Showing 1 changed file with 7 additions and 3 deletions.
Expand Up @@ -80,6 +80,11 @@ public class WebBeansBootstrap extends AbstractBootstrap implements Bootstrap

// The log provider
private static Log log = Logging.getLog(WebBeansBootstrap.class);

static
{
log.info("Web Beans " + getVersion());
}

// The Web Beans manager
private ManagerImpl manager;
Expand Down Expand Up @@ -164,7 +169,6 @@ public void boot()
{
synchronized (this)
{
log.info("Starting Web Beans RI " + getVersion());
if (manager == null)
{
throw new IllegalStateException("Manager has not been initialized");
Expand Down Expand Up @@ -193,10 +197,10 @@ public void boot()
{
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());
Expand Down

0 comments on commit 855be6e

Please sign in to comment.