public class BrokerFactoryBean
extends java.lang.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() |
java.lang.Object |
getObject() |
java.lang.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 java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic java.lang.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 java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic 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-2013 Red Hat, Inc.. All Rights Reserved.