Class MicroAgentFeatureProvider

java.lang.Object
jadex.core.impl.FeatureProvider<MicroAgentFeature>
jadex.micro.impl.MicroAgentFeatureProvider
All Implemented Interfaces:
jadex.core.impl.IComponentLifecycleManager

public class MicroAgentFeatureProvider extends jadex.core.impl.FeatureProvider<MicroAgentFeature> implements jadex.core.impl.IComponentLifecycleManager
  • Constructor Details

    • MicroAgentFeatureProvider

      public MicroAgentFeatureProvider()
  • Method Details

    • getRequiredComponentType

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

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

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

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

      protected static <T extends Annotation> T findAnnotation(Class<?> clazz, Class<T> anclazz, ClassLoader cl)
    • 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<MicroAgentFeature>
      Returns:
      The predecessors.