Class ServiceRecoveryRegistryImpl
java.lang.Object
org.opendaylight.serviceutils.srm.impl.ServiceRecoveryRegistryImpl
- All Implemented Interfaces:
ServiceRecoveryRegistry
@Singleton
@RequireServiceComponentRuntime
public final class ServiceRecoveryRegistryImpl
extends Object
implements ServiceRecoveryRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecoverableListener
(String serviceName, RecoverableListener recoverableListener) getRecoverableListeners
(String serviceName) getRegisteredServiceRecoveryHandler
(String entityName) void
registerServiceRecoveryRegistry
(String entityName, ServiceRecoveryInterface serviceRecoveryHandler) void
removeRecoverableListener
(String serviceName, RecoverableListener recoverableListener)
-
Constructor Details
-
ServiceRecoveryRegistryImpl
@Inject public ServiceRecoveryRegistryImpl()
-
-
Method Details
-
registerServiceRecoveryRegistry
public void registerServiceRecoveryRegistry(String entityName, ServiceRecoveryInterface serviceRecoveryHandler) - Specified by:
registerServiceRecoveryRegistry
in interfaceServiceRecoveryRegistry
-
addRecoverableListener
- Specified by:
addRecoverableListener
in interfaceServiceRecoveryRegistry
-
removeRecoverableListener
- Specified by:
removeRecoverableListener
in interfaceServiceRecoveryRegistry
-
getRecoverableListeners
- Specified by:
getRecoverableListeners
in interfaceServiceRecoveryRegistry
-
getRegisteredServiceRecoveryHandler
- Specified by:
getRegisteredServiceRecoveryHandler
in interfaceServiceRecoveryRegistry
-