public class PtolemyModule
extends java.lang.Object
Constructor and Description |
---|
PtolemyModule(java.lang.ClassLoader classLoader,
java.util.ResourceBundle moduleBundle)
Create a new instance of the PtolemyModule based on the
provided moduleBundle, and specifying a specific class loader
that should be used to load the implementation classes.
|
PtolemyModule(java.util.ResourceBundle moduleBundle)
Create a new instance of the PtolemyModule based on the
provided moduleBundle.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getBindings()
Return the bindings from interfaces to their implementations.
|
java.lang.ClassLoader |
getClassLoader()
Return the (optional) specific class loader for the
implementation classes.
|
public PtolemyModule(java.lang.ClassLoader classLoader, java.util.ResourceBundle moduleBundle)
classLoader
- The ClassLoadermoduleBundle
- The moduleBundle contains mappings from
platform independent interfaces to platform dependent
implementations. The bundle must have key value mappings from
the fully specified interface name to the fully specified class
name.public PtolemyModule(java.util.ResourceBundle moduleBundle)
moduleBundle
- The moduleBundle contains mappings from platform independent
interfaces to platform dependent implementations. The bundle must have key value mappings
from the fully specified interface name to the fully specified class name.public java.util.HashMap<java.lang.String,java.lang.String> getBindings()
public java.lang.ClassLoader getClassLoader()