public class BDIXLifecycleAgentFeature
extends ComponentLifecycleFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
BDIXLifecycleAgentFeature.EndBehavior
Extracted end behavior.
|
static class |
BDIXLifecycleAgentFeature.StartBehavior
Extracted start behavior.
|
| Modifier and Type | Field and Description |
|---|---|
static IComponentFeatureFactory |
FACTORY
The factory.
|
protected boolean |
inited
Is the agent inited and allowed to execute rules?
|
protected boolean |
shutdown
Is the agent in shutdown?.
|
| Constructor and Description |
|---|
BDIXLifecycleAgentFeature(IInternalAccess component,
ComponentCreationInfo cinfo)
Factory method constructor for instance level.
|
| Modifier and Type | Method and Description |
|---|---|
IFuture<java.lang.Void> |
body()
Execute the functional body of the agent.
|
protected BDIXLifecycleAgentFeature.EndBehavior |
createEndBehavior()
Create the end behavior.
|
protected BDIXLifecycleAgentFeature.StartBehavior |
createStartBehavior()
Create the start behavior.
|
boolean |
isInited()
Get the inited.
|
boolean |
isShutdown()
Get the shutdown.
|
void |
setInited(boolean inited)
The inited to set.
|
void |
setShutdown(boolean shutdown)
Set the shutdown.
|
IFuture<java.lang.Void> |
shutdown()
Start the end state.
|
public static final IComponentFeatureFactory FACTORY
protected boolean inited
protected boolean shutdown
public BDIXLifecycleAgentFeature(IInternalAccess component, ComponentCreationInfo cinfo)
public IFuture<java.lang.Void> body()
protected BDIXLifecycleAgentFeature.StartBehavior createStartBehavior()
protected BDIXLifecycleAgentFeature.EndBehavior createEndBehavior()
public IFuture<java.lang.Void> shutdown()
public boolean isInited()
public void setInited(boolean inited)
inited - The inited to setpublic boolean isShutdown()
public void setShutdown(boolean shutdown)
shutdown - The shutdown to set