Package ptolemy.actor.injection
Class ActorModuleInitializer
- java.lang.Object
-
- ptolemy.actor.injection.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.
-
Field Summary
Fields Modifier and Type Field Description protected static ActorModuleInitializer.Initializer
_defaultInitializer
The default initializer used by the PtolemyInjector if one is not provided to it.
-
Constructor Summary
Constructors Constructor Description ActorModuleInitializer()
Create instance that initializes the PtolemyInjector.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.ArrayList<PtolemyModule>
getModules()
Get Modules used by the initializer.static void
initializeInjector()
Initialize the PtolemyInjector using module definitions from the ptolemy.actor.ActorModule.properties file.static void
setInitializer(ActorModuleInitializer.Initializer initializer)
Set the initializer.
-
-
-
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.
-
-
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.
-
setInitializer
public static void setInitializer(ActorModuleInitializer.Initializer initializer)
Set the initializer.- Parameters:
initializer
- The initializer.
-
-