public class SimonConfigurationBean extends Object implements org.springframework.beans.factory.InitializingBean
ManagerConfiguration facility.| Constructor and Description |
|---|
SimonConfigurationBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Manager |
getSimonManager() |
void |
setConfiguration(String configurationPath)
Loads configuration for the manager from the specified resource path.
|
void |
setNewManager()
Creates new
SwitchingManager instead of using SimonManager.manager(). |
void |
setSimonManager(Manager simonManager) |
public SimonConfigurationBean()
public Manager getSimonManager()
public void setSimonManager(Manager simonManager)
public void setNewManager()
SwitchingManager instead of using SimonManager.manager().public void setConfiguration(String configurationPath) throws IOException
configurationPath - resource path to the configuration XMLIOException - thrown if the resource is not found or the configuration XML is not well formedpublic void afterPropertiesSet() throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionCopyright © 2019. All rights reserved.