|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ConfigurationLoader instance is responsible for loading properties into a Properties instance to configure Jumpi instances, and telling the JumpiFactory which class to load for the Jumpi instance.
The ConfigurationLoader may read properties from a properties file, XML file, MIDLET application properties, download over a network, provide fixed hard-coded values or any other mechanism.
Configuration in the Jumpi reference implementation takes place only during
the JumpiFactory.getJumpi(Hashtable)
method.
Configurable.configure(java.lang.String, org.jumpi.spi.Properties)
Method Summary | |
Properties |
getConfiguration(java.util.Hashtable parameters)
Get a complete set of configuration properties for a Jumpi instance. |
java.lang.String |
getJumpiClassname(java.util.Hashtable parameters)
Get the classname of the Jumpi instance. |
Method Detail |
public Properties getConfiguration(java.util.Hashtable parameters) throws java.lang.Exception
parameters
- read-only customization parameters.
java.lang.Exception
- for any failure condition.public java.lang.String getJumpiClassname(java.util.Hashtable parameters) throws java.lang.Exception
parameters
- read-only customization parameters.
java.lang.Exception
- when any error condition occurs.JumpiFactory.getJumpi(Hashtable)
|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |