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@2002 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Mar 15, 2009
1 parent 140ce21 commit 2989bc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions impl/src/main/java/org/jboss/webbeans/ManagerImpl.java
Expand Up @@ -70,7 +70,7 @@
import org.jboss.webbeans.event.ObserverImpl;
import org.jboss.webbeans.injection.ResolvableAnnotatedClass;
import org.jboss.webbeans.injection.Resolver;
import org.jboss.webbeans.injection.ServletInjector;
import org.jboss.webbeans.injection.NonContextualInjector;
import org.jboss.webbeans.introspector.AnnotatedClass;
import org.jboss.webbeans.introspector.AnnotatedItem;
import org.jboss.webbeans.introspector.AnnotatedMethod;
Expand Down Expand Up @@ -134,7 +134,7 @@ public class ManagerImpl implements WebBeansManager, Serializable

private final transient Map<Bean<?>, Bean<?>> specializedBeans;

private final transient ServletInjector servletInjector;
private final transient NonContextualInjector nonContextualInjector;

/**
* Create a new manager
Expand Down Expand Up @@ -162,7 +162,7 @@ protected Stack<InjectionPoint> initialValue()
}
};
this.specializedBeans = new HashMap<Bean<?>, Bean<?>>();
this.servletInjector = new ServletInjector(this);
this.nonContextualInjector = new NonContextualInjector(this);
List<Class<? extends Annotation>> defaultEnabledDeploymentTypes = new ArrayList<Class<? extends Annotation>>();
defaultEnabledDeploymentTypes.add(0, Standard.class);
defaultEnabledDeploymentTypes.add(1, Production.class);
Expand Down Expand Up @@ -617,7 +617,7 @@ public <T> T getInstanceToInject(InjectionPoint injectionPoint)

public void injectNonContextualInstance(Object instance)
{
servletInjector.inject(instance);
nonContextualInjector.inject(instance);
}

@SuppressWarnings("unchecked")
Expand Down
Expand Up @@ -8,13 +8,13 @@
import org.jboss.webbeans.util.Beans;
import org.jboss.webbeans.util.collections.ConcurrentCache;

public class ServletInjector
public class NonContextualInjector
{

private final ConcurrentCache<Class<?>, Set<FieldInjectionPoint<?>>> instances;
private final ManagerImpl manager;

public ServletInjector(ManagerImpl manager)
public NonContextualInjector(ManagerImpl manager)
{
this.manager = manager;
this.instances = new ConcurrentCache<Class<?>, Set<FieldInjectionPoint<?>>>();
Expand Down

0 comments on commit 2989bc5

Please sign in to comment.