Arquillian Core Implementation Base 1.0.1.Final

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

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

public class ServiceRegistryLoader
extends Object
implements ServiceLoader

MixedServiceLoader

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ServiceRegistryLoader(Injector injector, ServiceRegistry registry)
           
 
Method Summary
<T> Collection<T>
all(Class<T> serviceClass)
           
<T> T
onlyOne(Class<T> serviceClass)
           
<T> T
onlyOne(Class<T> serviceClass, Class<? extends T> defaultServiceClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistryLoader

public ServiceRegistryLoader(Injector injector,
                             ServiceRegistry registry)
Method Detail

all

public <T> Collection<T> all(Class<T> serviceClass)
Specified by:
all in interface ServiceLoader

onlyOne

public <T> T onlyOne(Class<T> serviceClass)
Specified by:
onlyOne in interface ServiceLoader

onlyOne

public <T> T onlyOne(Class<T> serviceClass,
                     Class<? extends T> defaultServiceClass)
Specified by:
onlyOne in interface ServiceLoader

Arquillian Core Implementation Base 1.0.1.Final

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