|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.commons.util.impl.PluginBeanFactoryPostProcessor
public class PluginBeanFactoryPostProcessor
PluginBeanFactoryPostProcessor
allows plugins to self-configure without having
to modify the original base configuration files.
Constructor Summary | |
---|---|
PluginBeanFactoryPostProcessor()
|
Method Summary | |
---|---|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Modify the application context's internal bean factory after its standard initialization. |
void |
setExtensionBeanName(java.lang.String extensionBeanName)
Setter for the bean name to extend. |
void |
setExtensionClassName(java.lang.String extensionClassName)
Set the class name for the bean to use. |
void |
setPropertyName(java.lang.String propertyName)
Set the name of the property to override. |
void |
setPropertyValue(java.lang.Object propertyValue)
Set the value of the property being overridden. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginBeanFactoryPostProcessor()
Method Detail |
---|
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
beanFactory
- - the bean factory used by the application context
org.springframework.beans.BeansException
- - in case of errorspublic void setExtensionBeanName(java.lang.String extensionBeanName)
extensionBeanName
- - the extensionBeanName to setpublic void setExtensionClassName(java.lang.String extensionClassName)
extensionClassName
- - the extensionClassName to setpublic void setPropertyName(java.lang.String propertyName)
propertyName
- - the propertyName to setpublic void setPropertyValue(java.lang.Object propertyValue)
propertyValue
- - the propertyValue to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |