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