ActivateeType - Type of the activatee.public class ActivatorAdapter<ActivateeType> extends Object implements Activator<ActivateeType>
If you are thinking about Service activation, see ServiceActivatorAdapter.
| Constructor and Description |
|---|
ActivatorAdapter() |
| 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.
|
public void beforeActivation(ActivateeType activating) throws Exception
beforeActivation in interface Activator<ActivateeType>activating - Activating activateeException - Allowed to throw Exception which will be wrapped in an ActivationExceptionpublic void afterActivation(ActivateeType activated) throws Exception
afterActivation in interface Activator<ActivateeType>activated - Activating activateeException - Allowed to throw Exception which will be wrapped in an ActivationExceptionpublic void beforePassivation(ActivateeType passivating) throws Exception
beforePassivation in interface Activator<ActivateeType>passivating - Passivating activateeException - Allowed to throw Exception which will be wrapped in an PassivationExceptionpublic void afterPassivation(ActivateeType passivated) throws Exception
afterPassivation in interface Activator<ActivateeType>passivated - Passivated activateeException - Allowed to throw Exception which will be wrapped in an PassivationException