ServiceType
- Type of the service.public class ServiceActivatorAdapter<ServiceType> extends Object implements Activator<ServiceReference<ServiceType>>
Constructor and Description |
---|
ServiceActivatorAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
afterActivation(ServiceReference<ServiceType> activated)
Called after Service activation.
|
void |
afterPassivation(ServiceReference<ServiceType> passivated)
Called after Service passivation.
|
void |
beforeActivation(ServiceReference<ServiceType> activating)
Called before Service activation.
|
void |
beforePassivation(ServiceReference<ServiceType> passivating)
Called before Service passivation.
|
public void beforeActivation(ServiceReference<ServiceType> activating) throws Exception
beforeActivation
in interface Activator<ServiceReference<ServiceType>>
activating
- Activating ServiceException
public void afterActivation(ServiceReference<ServiceType> activated) throws Exception
afterActivation
in interface Activator<ServiceReference<ServiceType>>
activated
- Activated ServiceException
public void beforePassivation(ServiceReference<ServiceType> passivating) throws Exception
beforePassivation
in interface Activator<ServiceReference<ServiceType>>
passivating
- Passivating ServiceException
public void afterPassivation(ServiceReference<ServiceType> passivated) throws Exception
afterPassivation
in interface Activator<ServiceReference<ServiceType>>
passivated
- Passivated ServiceException