public interface ConfigurationHandler
Modifier and Type | Method and Description |
---|---|
void |
addImportFrom(String realmName,
String importSpec)
Add an import specification from a realm
|
void |
addLoadFile(File file)
Add a file to the realm
|
void |
addLoadURL(URL url)
Add an URL to the realm
|
void |
addRealm(String realmName)
Define a new realm
|
void |
setAppMain(String mainClassName,
String mainRealmName)
Define the main class name
|
void setAppMain(String mainClassName, String mainRealmName)
mainClassName
- the main class namemainRealmName
- the main realm from which the main class is loadedvoid addRealm(String realmName) throws DuplicateRealmException
realmName
- the new realm nameDuplicateRealmException
- when realm with name already existsvoid addImportFrom(String realmName, String importSpec) throws NoSuchRealmException
realmName
- the realm nameimportSpec
- the import specificationNoSuchRealmException
- if realm doesn't existvoid addLoadFile(File file)
file
- the file to load content fromvoid addLoadURL(URL url)
url
- the url to load content fromCopyright © 2002–2022 Codehaus Plexus. All rights reserved.