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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServiceCircuitBreakerMixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CircuitBreaker` | `circuitBreaker()`
    `void` | `initialize()` Initialize the fragment

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServiceCircuitBreakerMixin

          public ServiceCircuitBreakerMixin()

  - ### Method Detail

    - #### 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

    - #### circuitBreaker

          public CircuitBreaker circuitBreaker()

      Specified by:
        `circuitBreaker` in interface `ServiceCircuitBreaker`