public interface OperatorSpiRegistry
| Modifier and Type | Method and Description |
|---|---|
boolean |
addOperatorSpi(OperatorSpi operatorSpi)
Adds the given
operatorSpi to this registry. |
boolean |
addOperatorSpi(String operatorName,
OperatorSpi operatorSpi)
Adds the given
operatorSpi to this registry. |
Set |
getAliases()
Gets a set of all aliases
|
OperatorSpi |
getOperatorSpi(String operatorName)
Gets a registered operator SPI.
|
Set<OperatorSpi> |
getOperatorSpis() |
ServiceRegistry<OperatorSpi> |
getServiceRegistry()
Gets the
ServiceRegistry |
void |
loadOperatorSpis()
Loads the SPIs defined in
META-INF/services. |
boolean |
removeOperatorSpi(OperatorSpi operatorSpi)
Removes the given
operatorSpi this registry. |
void |
setAlias(String aliasName,
String spiClassName)
Deprecated.
since BEAM 5, used internally only
|
void loadOperatorSpis()
META-INF/services.Set<OperatorSpi> getOperatorSpis()
ServiceRegistry<OperatorSpi> getServiceRegistry()
ServiceRegistryservice registryOperatorSpi getOperatorSpi(String operatorName)
operatorName can be
either the fully qualified class name of the OperatorSpi
or an alias name.operatorName - a name identifying the operator SPI.nullboolean addOperatorSpi(OperatorSpi operatorSpi)
operatorSpi to this registry.operatorSpi - the SPI to addtrue, if the OperatorSpi could be successfully added, otherwise falseboolean addOperatorSpi(String operatorName, OperatorSpi operatorSpi)
operatorSpi to this registry.operatorName - an (alias) name used as key for the registration.operatorSpi - the SPI to addtrue, if the OperatorSpi could be successfully added, otherwise falseboolean removeOperatorSpi(OperatorSpi operatorSpi)
operatorSpi this registry.operatorSpi - the SPI to removetrue, if the SPI could be removed, otherwise false@Deprecated void setAlias(String aliasName, String spiClassName)
aliasName - the aliasspiClassName - the name of the SPI classSet getAliases()
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.