public class PtolemyModule
PtolemyModule loads interface to implementation mappings from the provided
The PtolemyModule is used for creating a PtolemyInjector that is responsible for
dependency injection. The rationale for this class is to promote portability of
the Ptolemy by providing different interface to implementation mappings for different
platforms such as Android and Java SE.
public PtolemyModule(java.util.ResourceBundle moduleBundle)
Create a new instance of the PtolemyModule based on the provided 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()
Return the bindings from interfaces to their implementations.