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