ActivateeType
- Type of the activatee.public interface Activator<ActivateeType>
ActivatorAdapter
,
ServiceActivation
Modifier and Type | Method and Description |
---|---|
void |
afterActivation(ActivateeType activated)
Called after activatee activation.
|
void |
afterPassivation(ActivateeType passivated)
Called after activatee passivation.
|
void |
beforeActivation(ActivateeType activating)
Called before activatee activation.
|
void |
beforePassivation(ActivateeType passivating)
Called before activatee passivation.
|
void beforeActivation(ActivateeType activating) throws Exception
activating
- The instance that is about to be activated.Exception
- Allowed to throw Exception which will be wrapped in an ActivationExceptionvoid afterActivation(ActivateeType activated) throws Exception
activated
- The instance that has just been activated.Exception
- Allowed to throw Exception which will be wrapped in an ActivationExceptionvoid beforePassivation(ActivateeType passivating) throws Exception
passivating
- The instance that is about to be passivated.Exception
- Allowed to throw Exception which will be wrapped in an PassivationExceptionvoid afterPassivation(ActivateeType passivated) throws Exception
passivated
- The instance that has just been passivated.Exception
- Allowed to throw Exception which will be wrapped in an PassivationException