Home All Groups
jbossws-spi / org / jboss / wsf / spi / SPIProvider.html /
org.jboss.wsf.spi

Class SPIProvider


  • public abstract class SPIProvider
    extends Object
    Gives access to the SPI implementation.
    Author:
    [email protected] Created: Jul 18, 2007
    • Constructor Detail

      • SPIProvider

        public SPIProvider()
    • Method Detail

      • getInstance

        public static SPIProvider getInstance()
        Gets the a singleton reference to the SPIProvider returned by the SPIProviderResolver retrieved using the default server integration classloader.
        Returns:
        this class instance
      • getSPI

        public <T> T getSPI(Class<T> spiType)
        Gets the specified SPI, using the current thread context classloader
        Type Parameters:
        T - type of spi class
        Parameters:
        spiType - spi class to retrieve
        Returns:
        object
      • getSPI

        public abstract <T> T getSPI(Class<T> spiType,
                                     ClassLoader loader)
        Gets the specified SPI, using the provided classloader
        Type Parameters:
        T - type of spi class
        Parameters:
        spiType - spi class to retrieve
        loader - classloader to user
        Returns:
        object

Copyright © 2018 JBoss, by Red Hat. All rights reserved.