|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperatorSpiRegistry
A registry for operator SPI instances.
| Method Summary | |
|---|---|
boolean |
addOperatorSpi(OperatorSpi operatorSpi)
Adds the given operatorSpi to this registry. |
OperatorSpi |
getOperatorSpi(String operatorName)
Gets a registrered operator SPI. |
com.bc.ceres.core.ServiceRegistry<OperatorSpi> |
getServiceRegistry()
Gets the ServiceRegistry |
void |
loadOperatorSpis()
Loads the SPI's defined in META-INF/services. |
boolean |
removeOperatorSpi(OperatorSpi operatorSpi)
Removes the given operatorSpi this registry. |
void |
setAlias(String aliasName,
String spiClassName)
Sets an alias for the given SPI class name. |
| Method Detail |
|---|
void loadOperatorSpis()
META-INF/services.
com.bc.ceres.core.ServiceRegistry<OperatorSpi> getServiceRegistry()
ServiceRegistry
service 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 add
true, if the OperatorSpi could be succesfully added, otherwise falseboolean removeOperatorSpi(OperatorSpi operatorSpi)
operatorSpi this registry.
operatorSpi - the SPI to remove
true, if the SPI could be removed, otherwise false
void setAlias(String aliasName,
String spiClassName)
aliasName - the aliasspiClassName - the name of the SPI class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||