public interface BeanConfigPropertiesManager
BeanConfig.getBeanClassName())), mapped with the
 relevant configuration properties.| Modifier and Type | Method and Description | 
|---|---|
| void | disableAllBeans()Disable all currently enabled beans. | 
| void | disableBean(String beanClassName)Disables a bean. | 
| void | enableBean(String beanClassName)Disables a bean. | 
| Map<String,String> | getBeanConfig(String beanClassName)Get the bean configuration. | 
| String[] | getBeansClassNames()Lists the class names of configured beans. | 
| String[] | getEnabledBeansClassNames()Lists the class names of enabled beans. | 
| boolean | isBeanEnabled(String beanClassName) | 
| boolean | removeBeanConfig(String beanClassName)Removes a bean configuration. | 
| void | setBeanConfig(String beanClassName,
             Map<String,String> properties)Defines a configuration for the specified bean. | 
void setBeanConfig(String beanClassName, Map<String,String> properties) throws EnabledBeanConfigCannotBeChangedException
An exception is raised if the bean is enabled.
beanClassName - the bean class nameproperties - the String key-value pairs used to configure this bean.EnabledBeanConfigCannotBeChangedException - The bean is enabled. Disable it first.void enableBean(String beanClassName) throws BeanConfigNotFoundException, BeanConfigurationException, BeanInitializationException
If the bean is already disabled, the request is silently ignored.
beanClassName - the bean class nameBeanConfigNotFoundException - bean configuration cannot be found.BeanConfigurationException - in the event of misconfiguration (such as failure to set
                                     an essential property).BeanInitializationException - if bean initialization fails.void disableBean(String beanClassName) throws BeanConfigNotFoundException
If the bean is already disabled, the request is silently ignored.
beanClassName - the bean class nameBeanConfigNotFoundException - bean configuration cannot be found.boolean isBeanEnabled(String beanClassName)
beanClassName - the bean class nametrue if the bean is enabled, false if the bean is disabled.boolean removeBeanConfig(String beanClassName) throws EnabledBeanConfigCannotBeChangedException, BeanConfigNotFoundException
An exception is raised if the bean is enabled.
beanClassName - the bean class nametrue if removed ,false if it did not exist in the first
 place.EnabledBeanConfigCannotBeChangedException - The bean is enabled. Disable it first.BeanConfigNotFoundException - bean configuration cannot be found.Map<String,String> getBeanConfig(String beanClassName) throws BeanConfigNotFoundException
beanClassName - the bean class nameBeanConfigNotFoundException - bean configuration cannot be found. Put the configuration
                                     first.String[] getBeansClassNames()
String[] getEnabledBeansClassNames()
enableBean(String)void disableAllBeans()
disableBean(String)Copyright © GigaSpaces.