org.apache.commons.inject.impl
Class AbstractScopedProvider<T>
java.lang.Object
org.apache.commons.inject.impl.AbstractScopedProvider<T>
- All Implemented Interfaces:
- Provider<T>, IProvider<T>, IInjectorAware
- Direct Known Subclasses:
- EagerSingletonProvider, LazySingletonProvider, PerCallProvider
public abstract class AbstractScopedProvider<T>
- extends Object
- implements IProvider<T>, IInjectorAware
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialized
protected boolean initialized
AbstractScopedProvider
public AbstractScopedProvider(IProvider<T> pBaseProvider)
getInjector
protected IInjector getInjector()
get
public T get()
- Specified by:
get
in interface Provider<T>
getType
public Class<? extends T> getType()
- Specified by:
getType
in interface IProvider<T>
get
public T get(IInjector pInjector)
- Specified by:
get
in interface IProvider<T>
init
public void init(IInjector pInjector)
- Specified by:
init
in interface IInjectorAware
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.