Configuratorpublic interface ConfigurationHandler
| Modifier and Type | Method | Description |
|---|---|---|
void |
addImportFrom(java.lang.String relamName,
java.lang.String importSpec) |
Add an import specification from a realm
|
void |
addLoadFile(java.io.File file) |
Add a file to the realm
|
void |
addLoadURL(java.net.URL url) |
Add an URL to the realm
|
void |
addRealm(java.lang.String realmName) |
Define a new realm
|
void |
setAppMain(java.lang.String mainClassName,
java.lang.String mainRealmName) |
Define the main class name
|
void setAppMain(java.lang.String mainClassName,
java.lang.String mainRealmName)
mainClassName - the main class namemainRealmName - the main realm from which the main class is loadedvoid addRealm(java.lang.String realmName)
throws DuplicateRealmException
realmName - the new realm nameDuplicateRealmExceptionvoid addImportFrom(java.lang.String relamName,
java.lang.String importSpec)
throws NoSuchRealmException
relamName - the realm nameimportSpec - the import specificationNoSuchRealmExceptionvoid addLoadFile(java.io.File file)
file - the file to load content fromvoid addLoadURL(java.net.URL url)
url - the url to load content from