Class ActorModuleInitializer


  • public class ActorModuleInitializer
    extends java.lang.Object
    Initializer of the PtolemyInjector with Java SE specific actor interface to implementation mappings. This class reads the ptolemy.actor.ActorModule.properties file to initialize the PtolemyModule.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Anar Huseynov
    Pt.AcceptedRating:
    Red (ahuseyno)
    Pt.ProposedRating:
    Red (ahuseyno)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ActorModuleInitializer.Initializer
      Initializer is responsible for initializing the PtolemyInjector with modules specific to the platform it was developed for.
    • Constructor Summary

      Constructors 
      Constructor Description
      ActorModuleInitializer()
      Create instance that initializes the PtolemyInjector.
    • Field Detail

      • _defaultInitializer

        protected static ActorModuleInitializer.Initializer _defaultInitializer
        The default initializer used by the PtolemyInjector if one is not provided to it. The default initializer would initialize Java SE specific classes.
    • Constructor Detail

      • ActorModuleInitializer

        public ActorModuleInitializer()
        Create instance that initializes the PtolemyInjector.
    • Method Detail

      • getModules

        public static java.util.ArrayList<PtolemyModule> getModules()
        Get Modules used by the initializer.
        Returns:
        get Modules used by the initializer.
      • initializeInjector

        public static void initializeInjector()
        Initialize the PtolemyInjector using module definitions from the ptolemy.actor.ActorModule.properties file.