|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.helma.tools.HelmaConfiguration
public class HelmaConfiguration
| Constructor Summary | |
|---|---|
HelmaConfiguration()
|
|
HelmaConfiguration(java.lang.String helmaHome)
|
|
HelmaConfiguration(java.lang.String helmaHome,
java.lang.String helmaModulePath)
|
|
| Method Summary | |
|---|---|
RhinoEngine |
createEngine()
Create a new RhinoEngine with the settings defined by this configuration. |
java.io.File |
getHelmaHome()
Return the helma install directory |
java.util.List<Repository> |
getRepositories()
Get a list of repositoris from the given helmaHome and helmaPath settings using the helma.home and helma.path system properties as fallback. |
void |
setHostClasses(java.lang.Class[] classes)
Set the host classes to be added to the Rhino engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelmaConfiguration()
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public HelmaConfiguration(java.lang.String helmaHome)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public HelmaConfiguration(java.lang.String helmaHome,
java.lang.String helmaModulePath)
throws java.io.FileNotFoundException
java.io.FileNotFoundException| Method Detail |
|---|
public java.io.File getHelmaHome()
public java.util.List<Repository> getRepositories()
public void setHostClasses(java.lang.Class[] classes)
classes - a list of Rhino host classespublic RhinoEngine createEngine()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||