public final class OpLoader extends Object
ServiceLoader to load OpProcessor instances into a cache.| Constructor and Description | 
|---|
| OpLoader() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Optional<OpProcessor> | getProcessor(String name)Gets an  OpProcessorby its name. | 
| static Map<String,OpProcessor> | getProcessors()Gets a read-only map of the processors where the key is the  OpProcessorname and the value is the
 instance created byServiceLoader. | 
public static Optional<OpProcessor> getProcessor(String name)
OpProcessor by its name. If it cannot be found an Optional.EMPTY is returned.public static Map<String,OpProcessor> getProcessors()
OpProcessor name and the value is the
 instance created by ServiceLoader.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.