org.jboss.arquillian.core.impl.loadable
Class JavaSPIExtensionLoader

java.lang.Object
  extended by org.jboss.arquillian.core.impl.loadable.JavaSPIExtensionLoader
All Implemented Interfaces:
ExtensionLoader

public class JavaSPIExtensionLoader
extends Object
implements ExtensionLoader

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

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
JavaSPIExtensionLoader()
           
 
Method Summary
<T> Collection<T>
all(ClassLoader classLoader, Class<T> serviceClass)
           
 Collection<LoadableExtension> load()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSPIExtensionLoader

public JavaSPIExtensionLoader()
Method Detail

load

public Collection<LoadableExtension> load()
Specified by:
load in interface ExtensionLoader

all

public <T> Collection<T> all(ClassLoader classLoader,
                             Class<T> serviceClass)


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.