|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.spring.hosted.HostedBeanFactoryPostProcessor
public class HostedBeanFactoryPostProcessor
Hosted bean factory post processor to allow Hosted to override components in Spring.
Bean factory post processors are invoked after all the bean definitions have been registered (that is, after the XML files have all been parsed), but before any beans actually get instantiated. There are limitations to this, namely from Spring bean definition decorators that are applied before this post processor gets applied:
| Field Summary |
|---|
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
HostedBeanFactoryPostProcessor()
|
|
| Method Summary | |
|---|---|
int |
getOrder()
|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
|
void |
setResource(java.lang.String resource)
Set the resource to load, if it exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostedBeanFactoryPostProcessor()
| 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.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setResource(java.lang.String resource)
META-INF/hosted-application-context-overrides.xml.
resource - The resource to load.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||