Class RemoteExtensionLoader

  • All Implemented Interfaces:
    org.jboss.arquillian.core.spi.ExtensionLoader

    public class RemoteExtensionLoader
    extends Object
    implements org.jboss.arquillian.core.spi.ExtensionLoader
    ARQ-456 Temp fix. Load a different type of LoadableExtension on the container side, RemoteLoadableExtension.

    Should be replaced when proper Modularity, Classloading is in order.

    ServiceLoader implementation that use META-INF/services/interface files to registered Services.

    Version:
    $Revision: $
    Author:
    Aslak Knutsen
    • Constructor Detail

      • RemoteExtensionLoader

        public RemoteExtensionLoader()
    • Method Detail

      • load

        public Collection<org.jboss.arquillian.core.spi.LoadableExtension> load()
        Specified by:
        load in interface org.jboss.arquillian.core.spi.ExtensionLoader
      • loadVetoed

        public Map<Class<?>,​Set<Class<?>>> loadVetoed()
        Specified by:
        loadVetoed in interface org.jboss.arquillian.core.spi.ExtensionLoader
      • loadVetoed

        public Map<Class<?>,​Set<Class<?>>> loadVetoed​(ClassLoader classLoader)
        This method first finds all files that are in claspath placed at META-INF/exclusions Each of this file has a name that represents the service type that needs to veto. The content of this file is a list of real implementations that you want to veto.
        Returns:
        List of vetos