Class RemoteExtensionLoader
- java.lang.Object
-
- org.jboss.arquillian.container.test.impl.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 Summary
Constructors Constructor Description RemoteExtensionLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.jboss.arquillian.core.spi.LoadableExtension>load()Map<Class<?>,Set<Class<?>>>loadVetoed()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.
-
-
-
Method Detail
-
load
public Collection<org.jboss.arquillian.core.spi.LoadableExtension> load()
- Specified by:
loadin interfaceorg.jboss.arquillian.core.spi.ExtensionLoader
-
loadVetoed
public Map<Class<?>,Set<Class<?>>> loadVetoed()
- Specified by:
loadVetoedin interfaceorg.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
-
-