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