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