org.qi4j.library.circuitbreaker.service
Class ServiceCircuitBreakerMixin
java.lang.Object
org.qi4j.library.circuitbreaker.service.ServiceCircuitBreakerMixin
- All Implemented Interfaces:
- Initializable, ServiceCircuitBreaker
public class ServiceCircuitBreakerMixin
- extends Object
- implements ServiceCircuitBreaker, Initializable
Helper implementation of ServiceCircuitBreaker. Fetches the CircuitBreaker from meta-info
for the service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceCircuitBreakerMixin
public ServiceCircuitBreakerMixin()
initialize
public void initialize()
throws InitializationException
- Description copied from interface:
Initializable
- Initialize the fragment
- Specified by:
initialize
in interface Initializable
- Throws:
InitializationException
- if something went wrong
getCircuitBreaker
public CircuitBreaker getCircuitBreaker()
- Specified by:
getCircuitBreaker
in interface ServiceCircuitBreaker