Skip to content

Commit

Permalink
WELD-679, Remove BeanStore from API
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Sep 20, 2010
1 parent e9f8da8 commit 5ea0e2a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 305 deletions.
Expand Up @@ -28,7 +28,6 @@
import org.jboss.weld.bootstrap.spi.BeansXml;
import org.jboss.weld.bootstrap.spi.Deployment;
import org.jboss.weld.bootstrap.spi.Metadata;
import org.jboss.weld.context.api.BeanStore;
import org.jboss.weld.manager.api.WeldManager;

/**
Expand Down Expand Up @@ -62,7 +61,6 @@ public interface Bootstrap
* <li>Creates the manager</li>
* </ul>
*
* @param beanStore the bean store to use as backing for the application
* context
* @param environment the environment in use, by default
* {@link Environments.EE}
Expand All @@ -71,7 +69,7 @@ public interface Bootstrap
* given environment are available
*
*/
public Bootstrap startContainer(Environment environment, Deployment deployment, BeanStore beanStore);
public Bootstrap startContainer(Environment environment, Deployment deployment);

/**
* Starts the application container initialization process:
Expand Down
Expand Up @@ -20,7 +20,6 @@
import org.jboss.weld.bootstrap.api.Environment;
import org.jboss.weld.bootstrap.spi.BeanDeploymentArchive;
import org.jboss.weld.bootstrap.spi.Deployment;
import org.jboss.weld.context.api.BeanStore;
import org.jboss.weld.manager.api.WeldManager;

/**
Expand All @@ -38,9 +37,9 @@ public WeldManager getManager(BeanDeploymentArchive beanDeploymentArchive)
return delegate().getManager(beanDeploymentArchive);
}

public Bootstrap startContainer(Environment environment, Deployment deployment, BeanStore beanStore)
public Bootstrap startContainer(Environment environment, Deployment deployment)
{
return delegate().startContainer(environment, deployment, beanStore);
return delegate().startContainer(environment, deployment);
}

public void shutdown()
Expand Down
58 changes: 0 additions & 58 deletions weld-spi/src/main/java/org/jboss/weld/context/api/BeanStore.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 5ea0e2a

Please sign in to comment.