Inherited by Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectorImpl.
◆ BindAspect()
void Org.Apache.REEF.Tang.Interface.IInjector.BindAspect |
( |
Aspect |
a | ) |
|
Binds the aspect.
- Parameters
-
◆ BindVolatileInstance< T >() [1/2]
void Org.Apache.REEF.Tang.Interface.IInjector.BindVolatileInstance< T > |
( |
GenericType< T > |
iface, |
|
|
T |
inst |
|
) |
| |
Binds the volatile instance.
- Template Parameters
-
- Parameters
-
iface | The iface. |
inst | The inst. |
◆ BindVolatileInstance< T >() [2/2]
void Org.Apache.REEF.Tang.Interface.IInjector.BindVolatileInstance< T > |
( |
T |
inst | ) |
|
Binds the volatile instance.
- Template Parameters
-
- Parameters
-
◆ BindVolatileParameter< U, T >() [1/2]
void Org.Apache.REEF.Tang.Interface.IInjector.BindVolatileParameter< U, T > |
( |
GenericType< U > |
iface, |
|
|
T |
inst |
|
) |
| |
Binds the volatile parameter.
- Template Parameters
-
- Parameters
-
iface | The iface. |
inst | The inst. |
◆ BindVolatileParameter< U, T >() [2/2]
void Org.Apache.REEF.Tang.Interface.IInjector.BindVolatileParameter< U, T > |
( |
T |
inst | ) |
|
Binds the volatile parameter.
- Template Parameters
-
- Parameters
-
◆ ForkInjector() [1/2]
IInjector Org.Apache.REEF.Tang.Interface.IInjector.ForkInjector |
( |
| ) |
|
Forks the injector.
- Returns
◆ ForkInjector() [2/2]
Forks the injector.
- Parameters
-
configurations | The configurations. |
- Returns
◆ GetAspect()
Aspect Org.Apache.REEF.Tang.Interface.IInjector.GetAspect |
( |
| ) |
|
◆ GetInjectionPlan() [1/2]
InjectionPlan Org.Apache.REEF.Tang.Interface.IInjector.GetInjectionPlan |
( |
Type |
name | ) |
|
Gets the injection plan.
- Parameters
-
- Returns
◆ GetInjectionPlan() [2/2]
InjectionPlan Org.Apache.REEF.Tang.Interface.IInjector.GetInjectionPlan |
( |
string |
name | ) |
|
Gets the injection plan for a given class name
- Parameters
-
- Returns
◆ GetInstance() [1/2]
object Org.Apache.REEF.Tang.Interface.IInjector.GetInstance |
( |
Type |
iface | ) |
|
Gets an instance of iface, or the implementation that has been bound to it.
- Parameters
-
- Returns
◆ GetInstance() [2/2]
object Org.Apache.REEF.Tang.Interface.IInjector.GetInstance |
( |
string |
iface | ) |
|
Gets the instance for a given class name
- Parameters
-
- Returns
◆ GetInstance< T >()
Gets the instance for a given class
- Template Parameters
-
- Returns
◆ GetNamedInstance()
object Org.Apache.REEF.Tang.Interface.IInjector.GetNamedInstance |
( |
Type |
t | ) |
|
Get an instance of the named parameter.
- Parameters
-
t | t, it must inherit from Name |
- Returns
◆ GetNamedInstance< T, U >() [1/2]
Get an instance of the named parameter.
- Template Parameters
-
- Parameters
-
- Returns
◆ GetNamedInstance< T, U >() [2/2]
Gets the named instance.
- Template Parameters
-
- Returns
◆ IsInjectable() [1/2]
bool Org.Apache.REEF.Tang.Interface.IInjector.IsInjectable |
( |
string |
name | ) |
|
Determines whether the specified name is injectable.
- Parameters
-
- Returns
true
if the specified name is injectable; otherwise, false
.
◆ IsInjectable() [2/2]
bool Org.Apache.REEF.Tang.Interface.IInjector.IsInjectable |
( |
Type |
clazz | ) |
|
Determines whether the specified clazz is injectable.
- Parameters
-
- Returns
true
if the specified clazz is injectable; otherwise, false
.
◆ IsParameterSet() [1/2]
bool Org.Apache.REEF.Tang.Interface.IInjector.IsParameterSet |
( |
string |
name | ) |
|
Determines whether [is parameter set] [the specified name].
- Parameters
-
- Returns
true
if [is parameter set] [the specified name]; otherwise, false
.
◆ IsParameterSet() [2/2]
bool Org.Apache.REEF.Tang.Interface.IInjector.IsParameterSet |
( |
Type |
name | ) |
|
Determines whether [is parameter set] [the specified name].
- Parameters
-
- Returns
true
if [is parameter set] [the specified name]; otherwise, false
.
The documentation for this interface was generated from the following file: