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