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