[webbeans-commits] Webbeans SVN: r313 - ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/contexts.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Mon Nov 17 01:55:01 EST 2008
Author: nickarls
Date: 2008-11-17 01:55:01 -0500 (Mon, 17 Nov 2008)
New Revision: 313
Modified:
ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/contexts/DependentContext.java
Log:
oops, forgot to fix the dependent context
Modified: ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/contexts/DependentContext.java
===================================================================
--- ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/contexts/DependentContext.java 2008-11-17 06:51:41 UTC (rev 312)
+++ ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/contexts/DependentContext.java 2008-11-17 06:55:01 UTC (rev 313)
@@ -1,21 +1,16 @@
package org.jboss.webbeans.contexts;
-import java.util.concurrent.atomic.AtomicBoolean;
-
import javax.webbeans.ContextNotActiveException;
import javax.webbeans.Dependent;
import javax.webbeans.manager.Bean;
-public class DependentContext extends AbstractContext
+public class DependentContext extends PrivateContext
{
- private BeanMap beans;
- private AtomicBoolean active;
-
+
public DependentContext()
{
super(Dependent.class);
- beans = new BeanMap();
- active = new AtomicBoolean(false);
+ setActive(false);
}
@Override
@@ -28,18 +23,6 @@
return create == false ? null : bean.create();
}
-
- @Override
- protected AtomicBoolean getActive()
- {
- return active;
- }
-
- @Override
- protected BeanMap getBeanMap()
- {
- return beans;
- }
@Override
public String toString()
More information about the weld-commits
mailing list