Package cmion.level2

Class CompetencyLibrary

java.lang.Object
ion.Meta.Element
cmion.architecture.CmionComponent
cmion.level2.CompetencyLibrary

public class CompetencyLibrary extends CmionComponent
the competency library is the component that registers all components
  • Constructor Details

  • Method Details

    • openConfigurationFile

      protected InputStream openConfigurationFile(String competencyLibraryFile) throws Exception
      Throws:
      Exception
    • registerHandlers

      public final void registerHandlers()
      Description copied from class: CmionComponent
      every cmion component has to implement this method and register its event and request handlers in here
      Specified by:
      registerHandlers in class CmionComponent
    • startBackgroundCompetencies

      public void startBackgroundCompetencies()
      in this function all competencies that are continuously running in the background are started
    • getCompetencies

      public ArrayList<Competency> getCompetencies(String type)
      return a List of competencies with the given type, the list will be empty if no such competency is in the library
    • getSamgarCompetencyInfos

      public ArrayList<SamgarCompetencyInfo> getSamgarCompetencyInfos()
      returns a list of information items regarding the samgar competencies to be loaded by the architecture. Do not modify the returned list or its contents outside this method