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 SetMethodInjector<T> extends Object implements Injector<T>
Constructor and Description |
---|
SetMethodInjector(Value<?> target,
Method method)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> Injector<T> |
create(Value<?> target,
Method method)
Deprecated.
Construct a new instance.
|
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).
|
public static <T> Injector<T> create(Value<?> target, Method method)
target
- the object upon which the method is to be calledmethod
- the method to invokepublic void inject(T value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.