Skip to content

Commit

Permalink
move ProcessAnnotatedType to the correct spot
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored and pmuir committed Aug 7, 2010
1 parent b7bfd18 commit 6ea1457
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Expand Up @@ -106,6 +106,7 @@ public BeanDeploymentArchive getBeanDeploymentArchive()
public void deployBeans(Environment environment)
{
beanDeployer.addClasses(beanDeploymentArchive.getBeanClasses());
beanDeployer.fireProcessAnnotatedTypeForTypesAddedThroughTheSPI();
beanDeployer.getEnvironment().addBuiltInBean(new InjectionPointBean(beanManager));
beanDeployer.getEnvironment().addBuiltInBean(new EventBean(beanManager));
beanDeployer.getEnvironment().addBuiltInBean(new InstanceBean(beanManager));
Expand Down
Expand Up @@ -390,7 +390,6 @@ public Bootstrap deployBeans()
for (Entry<BeanDeploymentArchive, BeanDeployment> entry : beanDeployments.entrySet())
{
entry.getValue().deployBeans(environment);
entry.getValue().getBeanDeployer().fireProcessAnnotatedTypeForTypesAddedThroughTheSPI();
}
AfterBeanDiscoveryImpl.fire(deploymentManager, deployment, beanDeployments);
for (Entry<BeanDeploymentArchive, BeanDeployment> entry : beanDeployments.entrySet())
Expand Down

0 comments on commit 6ea1457

Please sign in to comment.