public class QpidServiceLoader extends Object
ServiceLoader to instantiate all configured implementations of an interface.| Constructor and Description |
|---|
QpidServiceLoader() |
| Modifier and Type | Method and Description |
|---|---|
<C extends Pluggable> |
atLeastOneInstanceOf(Class<C> clazz) |
<C extends Pluggable> |
getInstancesByType(Class<C> clazz) |
<C extends Pluggable> |
instancesOf(Class<C> clazz) |
public <C extends Pluggable> Iterable<C> atLeastOneInstanceOf(Class<C> clazz)
RuntimeException - if at least one implementation is not found.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.