Package jadex.bdi.runtime.impl
Class BDILifecycleAgentFeatureProvider
java.lang.Object
jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
jadex.bdi.runtime.impl.BDILifecycleAgentFeatureProvider
- All Implemented Interfaces:
jadex.core.impl.IComponentLifecycleManager
public class BDILifecycleAgentFeatureProvider
extends jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
implements jadex.core.impl.IComponentLifecycleManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.core.IExternalAccessjadex.micro.impl.MicroAgentFeaturecreateFeatureInstance(jadex.core.impl.Component self) Class<jadex.micro.impl.MicroAgentFeature> getPredecessors(Set<Class<?>> all) Get the predecessors, i.e.Class<? extends jadex.core.impl.Component> booleanbooleanreplacesFeatureProvider(jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature> provider) voidterminate(jadex.core.IComponent component) Methods inherited from class jadex.core.impl.FeatureProvider
isLazyFeature
-
Constructor Details
-
BDILifecycleAgentFeatureProvider
public BDILifecycleAgentFeatureProvider()
-
-
Method Details
-
getFeatureType
- Specified by:
getFeatureTypein classjadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
-
createFeatureInstance
public jadex.micro.impl.MicroAgentFeature createFeatureInstance(jadex.core.impl.Component self) - Specified by:
createFeatureInstancein classjadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
-
getRequiredComponentType
- Overrides:
getRequiredComponentTypein classjadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
-
replacesFeatureProvider
public boolean replacesFeatureProvider(jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature> provider) - Overrides:
replacesFeatureProviderin classjadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
-
isCreator
- Specified by:
isCreatorin interfacejadex.core.impl.IComponentLifecycleManager
-
create
- Specified by:
createin interfacejadex.core.impl.IComponentLifecycleManager
-
terminate
public void terminate(jadex.core.IComponent component) - Specified by:
terminatein interfacejadex.core.impl.IComponentLifecycleManager
-
getPredecessors
Get the predecessors, i.e. features that should be inited first.- Overrides:
getPredecessorsin classjadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>- Returns:
- The predecessors.
-