public static class CircuitBreakerManagement.Activator extends ActivatorAdapter<ServiceReference<CircuitBreakerManagement>>
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterActivation(ServiceReference<CircuitBreakerManagement> activated)
Called after activatee activation.
|
void |
beforePassivation(ServiceReference<CircuitBreakerManagement> passivating)
Called before activatee passivation.
|
afterPassivation, beforeActivationpublic void afterActivation(ServiceReference<CircuitBreakerManagement> activated) throws Exception
ActivatorAdapterafterActivation in interface Activator<ServiceReference<CircuitBreakerManagement>>afterActivation in class ActivatorAdapter<ServiceReference<CircuitBreakerManagement>>activated - Activating activateeException - Allowed to throw Exception which will be wrapped in an ActivationExceptionpublic void beforePassivation(ServiceReference<CircuitBreakerManagement> passivating) throws Exception
ActivatorAdapterbeforePassivation in interface Activator<ServiceReference<CircuitBreakerManagement>>beforePassivation in class ActivatorAdapter<ServiceReference<CircuitBreakerManagement>>passivating - Passivating activateeException - Allowed to throw Exception which will be wrapped in an PassivationException