Interface ConfigurationHandler
- All Known Implementing Classes:
- Configurator
public interface ConfigurationHandler
Receive notification of the logical content of launcher configuration, independently from parsing.
- Author:
- Igor Fedorenko
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddImportFrom(String realmName, String importSpec) Add an import specification from a realmvoidaddLoadFile(File file) Add a file to the realmvoidaddLoadURL(URL url) Add an URL to the realmvoidDefine a new realmvoidsetAppMain(String mainClassName, String mainRealmName) Define the main class name
- 
Method Details- 
setAppMain
- 
addRealmDefine a new realm- Parameters:
- realmName- the new realm name
- Throws:
- DuplicateRealmException- when realm with name already exists
 
- 
addImportFromAdd an import specification from a realm- Parameters:
- realmName- the realm name
- importSpec- the import specification
- Throws:
- NoSuchRealmException- if realm doesn't exist
 
- 
addLoadFileAdd a file to the realm- Parameters:
- file- the file to load content from
 
- 
addLoadURL
 
-