ActivateeType
- Type of the activation targetpublic class ActivatorsInstance<ActivateeType> extends Object implements org.qi4j.api.activation.Activator<ActivateeType>
Modifier and Type | Field and Description |
---|---|
static ActivatorsInstance |
EMPTY |
Constructor and Description |
---|
ActivatorsInstance(Iterable<org.qi4j.api.activation.Activator<ActivateeType>> activators) |
Modifier and Type | Method and Description |
---|---|
void |
afterActivation(ActivateeType activated) |
void |
afterPassivation(ActivateeType passivated) |
void |
beforeActivation(ActivateeType activating) |
void |
beforePassivation(ActivateeType passivating) |
public static final ActivatorsInstance EMPTY
public ActivatorsInstance(Iterable<org.qi4j.api.activation.Activator<ActivateeType>> activators)
public void beforeActivation(ActivateeType activating) throws Exception
beforeActivation
in interface org.qi4j.api.activation.Activator<ActivateeType>
Exception
public void afterActivation(ActivateeType activated) throws Exception
afterActivation
in interface org.qi4j.api.activation.Activator<ActivateeType>
Exception
public void beforePassivation(ActivateeType passivating) throws Exception
beforePassivation
in interface org.qi4j.api.activation.Activator<ActivateeType>
Exception
public void afterPassivation(ActivateeType passivated) throws Exception
afterPassivation
in interface org.qi4j.api.activation.Activator<ActivateeType>
Exception