public abstract class SPIProvider extends Object
| Constructor and Description |
|---|
SPIProvider() |
| Modifier and Type | Method and Description |
|---|---|
static SPIProvider |
getInstance()
Gets the a singleton reference to the SPIProvider returned by the SPIProviderResolver
retrieved using the default server integration classloader.
|
<T> T |
getSPI(Class<T> spiType)
Gets the specified SPI, using the current thread context classloader
|
abstract <T> T |
getSPI(Class<T> spiType,
ClassLoader loader)
Gets the specified SPI, using the provided classloader
|
public static SPIProvider getInstance()
public <T> T getSPI(Class<T> spiType)
T - spiType - public abstract <T> T getSPI(Class<T> spiType, ClassLoader loader)
T - spiType - loader - Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.