T
- the value typeServiceBuilder.provides(org.jboss.msc.service.ServiceName...)
method instead. This class will be removed in a future release.@Deprecated public final class AddMethodInjector<T> extends RetainingInjector<T> implements Injector<T>
Injector
- namely, the same injector cannot be used to inject multiple instances into
a collection.Constructor and Description |
---|
AddMethodInjector(Value<?> target,
Method addMethod,
Method removeMethod)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
inject(T value)
Deprecated.
Inject the given value.
|
void |
uninject()
Deprecated.
Uninject the given value (in other words, cancel or undo a previous injection).
|
getStoredValue, setStoredValue
public void inject(T value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.