ExtensionInjector instead@Deprecated @SPI(scope=FRAMEWORK) public interface ExtensionFactory extends ExtensionInjector
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getExtension(Class<T> type,
String name)
Deprecated.
Get extension.
|
default <T> T |
getInstance(Class<T> type,
String name)
Deprecated.
Get instance of specify type and name.
|
setExtensionAccessordefault <T> T getInstance(Class<T> type, String name)
ExtensionInjectorgetInstance in interface ExtensionInjectortype - object type.name - object name.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.