public class BrokerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
FactoryBean which creates an embedded broker inside a Spring
XML using an external XBean Spring XML
configuration file which provides a much neater and more concise XML
format.| Constructor and Description |
|---|
BrokerFactoryBean() |
BrokerFactoryBean(org.springframework.core.io.Resource config) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
BrokerService |
getBroker() |
org.springframework.core.io.Resource |
getConfig() |
Object |
getObject() |
Class |
getObjectType() |
int |
getSystemExitOnShutdownExitCode() |
boolean |
isSingleton() |
boolean |
isStart() |
boolean |
isSystemExitOnShutdown() |
boolean |
isSystemExitOnStop() |
void |
setApplicationContext(org.springframework.context.ApplicationContext parentContext) |
void |
setConfig(org.springframework.core.io.Resource config) |
void |
setStart(boolean start) |
void |
setSystemExitOnShutdown(boolean systemExitOnShutdown) |
void |
setSystemExitOnShutdownExitCode(int systemExitOnShutdownExitCode) |
void |
setSystemExitOnStop(boolean systemExitOnStop) |
public BrokerFactoryBean()
public BrokerFactoryBean(org.springframework.core.io.Resource config)
public Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic void setApplicationContext(org.springframework.context.ApplicationContext parentContext) throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void afterPropertiesSet() throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy() throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic org.springframework.core.io.Resource getConfig()
public void setConfig(org.springframework.core.io.Resource config)
public BrokerService getBroker()
public boolean isStart()
public void setStart(boolean start)
public boolean isSystemExitOnStop()
public void setSystemExitOnStop(boolean systemExitOnStop)
public boolean isSystemExitOnShutdown()
public void setSystemExitOnShutdown(boolean systemExitOnShutdown)
public int getSystemExitOnShutdownExitCode()
public void setSystemExitOnShutdownExitCode(int systemExitOnShutdownExitCode)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.