ServiceBuilder.provides(org.jboss.msc.service.ServiceName...)
method instead. This class will be removed in a future release.@Deprecated public final class Injectors extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Injector<Object> |
cast(Injector<T> injector,
Class<T> type)
Deprecated.
Construct a casting injector.
|
public static <T> Injector<Object> cast(Injector<T> injector, Class<T> type)
T
- the type of the injected valueinjector
- an injector of any typetype
- a class of the injected typeInjector<Object>
Copyright © 2021 JBoss by Red Hat. All rights reserved.