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