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