public abstract class SPIProvider extends Object
Constructor and Description |
---|
SPIProvider() |
Modifier and Type | Method and Description |
---|---|
<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 <T> T getSPI(Class<T> spiType)
T
- spiType
- public abstract <T> T getSPI(Class<T> spiType, ClassLoader loader)
T
- spiType
- loader
- Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.