public class ComponentLifecycleFeature extends AbstractComponentFeature implements ILifecycleComponentFeature
Modifier and Type | Field and Description |
---|---|
static IComponentFeatureFactory |
FACTORY
The factory.
|
cinfo, component, guesser
Constructor and Description |
---|
ComponentLifecycleFeature(IInternalAccess component,
ComponentCreationInfo cinfo)
Factory method constructor for instance level.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
body()
Execute the functional body of the component.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Called just before the component is removed from the platform.
|
getComponent, getExternalFacade, getExternalFacadeType, getParameterGuesser, getValueFetcher, init
public static final IComponentFeatureFactory FACTORY
public ComponentLifecycleFeature(IInternalAccess component, ComponentCreationInfo cinfo)
public jadex.commons.future.IFuture<java.lang.Void> body()
body
in interface IComponentFeature
body
in class AbstractComponentFeature
public jadex.commons.future.IFuture<java.lang.Void> shutdown()
shutdown
in interface IComponentFeature
shutdown
in class AbstractComponentFeature