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