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 Details

    • BDILifecycleAgentFeatureProvider

      public BDILifecycleAgentFeatureProvider()
  • Method Details

    • getFeatureType

      public Class<jadex.micro.impl.MicroAgentFeature> getFeatureType()
      Specified by:
      getFeatureType in class jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
    • createFeatureInstance

      public jadex.micro.impl.MicroAgentFeature createFeatureInstance(jadex.core.impl.Component self)
      Specified by:
      createFeatureInstance in class jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
    • getRequiredComponentType

      public Class<? extends jadex.core.impl.Component> getRequiredComponentType()
      Overrides:
      getRequiredComponentType in class jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
    • replacesFeatureProvider

      public boolean replacesFeatureProvider(jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature> provider)
      Overrides:
      replacesFeatureProvider in class jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
    • isCreator

      public boolean isCreator(Object obj)
      Specified by:
      isCreator in interface jadex.core.impl.IComponentLifecycleManager
    • create

      public jadex.core.IExternalAccess create(Object pojo, jadex.core.ComponentIdentifier cid)
      Specified by:
      create in interface jadex.core.impl.IComponentLifecycleManager
    • terminate

      public void terminate(jadex.core.IComponent component)
      Specified by:
      terminate in interface jadex.core.impl.IComponentLifecycleManager
    • getPredecessors

      public Set<Class<?>> getPredecessors(Set<Class<?>> all)
      Get the predecessors, i.e. features that should be inited first.
      Overrides:
      getPredecessors in class jadex.core.impl.FeatureProvider<jadex.micro.impl.MicroAgentFeature>
      Returns:
      The predecessors.