org.jboss.wsf.spi
Class SPIProvider

java.lang.Object
  extended by org.jboss.wsf.spi.SPIProvider

public abstract class SPIProvider
extends Object

Gives access to the SPI implementation.

Author:
Heiko.Braun@jboss.com Created: Jul 18, 2007

Constructor Summary
SPIProvider()
           
 
Method Summary
<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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPIProvider

public SPIProvider()
Method Detail

getSPI

public <T> T getSPI(Class<T> spiType)
Gets the specified SPI, using the current thread context classloader

Type Parameters:
T -
Parameters:
spiType -
Returns:

getSPI

public abstract <T> T getSPI(Class<T> spiType,
                             ClassLoader loader)
Gets the specified SPI, using the provided classloader

Type Parameters:
T -
Parameters:
spiType -
loader -
Returns:


Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.