|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.factory.support.AbstractBeanFactory
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
org.springframework.beans.factory.support.DefaultListableBeanFactory
org.activemq.spring.ActiveMQBeanFactory
public class ActiveMQBeanFactory
A Spring BeanFactory for creating ActiveMQ objects
| Field Summary |
|---|
| Fields inherited from class org.springframework.beans.factory.support.AbstractBeanFactory |
|---|
logger |
| Fields inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory |
|---|
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR |
| Constructor Summary | |
|---|---|
ActiveMQBeanFactory(String brokerName,
InputStream is)
Create a new ActiveMQBeanFactory with the given InputStream, which must be parsable using DOM. |
|
ActiveMQBeanFactory(String brokerName,
org.springframework.core.io.Resource resource)
Create a new ActiveMQBeanFactory with the given resource, which must be parsable using DOM. |
|
ActiveMQBeanFactory(String brokerName,
org.springframework.core.io.Resource resource,
org.springframework.beans.factory.BeanFactory parentBeanFactory)
Create a new ActiveMQBeanFactory with the given input stream, which must be parsable using DOM. |
|
| Method Summary | |
|---|---|
protected org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
createReader(String brokerName)
A hook to allow custom ActiveMQBeanFactory implementations to provide their own custom parser of the XML to perform macro processing or perform XSLT etc |
protected org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
getReader()
|
static ActiveMQBeanFactory |
newInstance(String brokerName,
org.springframework.core.io.Resource resource)
A static factory method which can be used easily from spring.xml |
| Methods inherited from class org.springframework.beans.factory.support.DefaultListableBeanFactory |
|---|
containsBeanDefinition, findMatchingBeans, getBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, isAllowBeanDefinitionOverriding, preInstantiateSingletons, registerBeanDefinition, setAllowBeanDefinitionOverriding, toString |
| Methods inherited from class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory |
|---|
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPostProcessorsBeforeInstantiation, applyBeanPropertyValues, autowire, autowireBeanProperties, autowireByName, autowireByType, autowireConstructor, checkDependencies, createBean, getIgnoredDependencyInterfaces, getIgnoredDependencyTypes, getInstantiationStrategy, getTypeForFactoryMethod, ignoreDependencyInterface, ignoreDependencyType, instantiateBean, instantiateUsingFactoryMethod, invokeCustomInitMethod, invokeInitMethods, isAllowCircularReferences, isExcludedFromDependencyCheck, populateBean, setAllowCircularReferences, setInstantiationStrategy, unsatisfiedNonSimpleProperties |
| Methods inherited from class org.springframework.beans.factory.support.AbstractBeanFactory |
|---|
addBeanPostProcessor, addSingleton, checkMergedBeanDefinition, containsBean, containsLocalBean, containsSingleton, destroyBean, destroySingletons, doTypeConversionIfNecessary, doTypeConversionIfNecessary, getAliases, getBean, getBean, getBean, getBean, getBeanPostProcessorCount, getBeanPostProcessors, getCustomEditors, getMergedBeanDefinition, getMergedBeanDefinition, getMergedBeanDefinition, getObjectForSharedInstance, getParentBeanFactory, getSingletonCount, getSingletonNames, getType, hasDestructionAwareBeanPostProcessors, initBeanWrapper, invokeCustomDestroyMethod, isFactoryBean, isFactoryDereference, isSingleton, isSingletonCurrentlyInCreation, registerAlias, registerCustomEditor, registerDependentBean, registerDisposableBean, registerDisposableBeanIfNecessary, registerSingleton, removeSingleton, setParentBeanFactory, transformedBeanName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
|---|
ignoreDependencyInterface, ignoreDependencyType |
| Methods inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory |
|---|
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBeanProperties |
| Methods inherited from interface org.springframework.beans.factory.config.ConfigurableBeanFactory |
|---|
addBeanPostProcessor, containsSingleton, destroySingletons, getBeanPostProcessorCount, registerAlias, registerCustomEditor, registerSingleton, setParentBeanFactory |
| Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory |
|---|
containsLocalBean, getParentBeanFactory |
| Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionRegistry |
|---|
getAliases, registerAlias |
| Constructor Detail |
|---|
public ActiveMQBeanFactory(String brokerName,
org.springframework.core.io.Resource resource)
throws org.springframework.beans.BeansException
resource - XML resource to load bean definitions from
org.springframework.beans.BeansException - in case of loading or parsing errors
public ActiveMQBeanFactory(String brokerName,
InputStream is)
throws org.springframework.beans.BeansException
It's preferable to use a Resource argument instead of an InputStream, to retain location information. This constructor is mainly kept for backward compatibility.
is - XML InputStream to load bean definitions from
org.springframework.beans.BeansException - in case of loading or parsing errorsActiveMQBeanFactory(String, Resource)
public ActiveMQBeanFactory(String brokerName,
org.springframework.core.io.Resource resource,
org.springframework.beans.factory.BeanFactory parentBeanFactory)
throws org.springframework.beans.BeansException
resource - XML resource to load bean definitions fromparentBeanFactory - parent bean factory
org.springframework.beans.BeansException - in case of loading or parsing errors| Method Detail |
|---|
public static ActiveMQBeanFactory newInstance(String brokerName,
org.springframework.core.io.Resource resource)
resource - XML resource to load bean definitions fromprotected org.springframework.beans.factory.xml.XmlBeanDefinitionReader getReader()
protected org.springframework.beans.factory.xml.XmlBeanDefinitionReader createReader(String brokerName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||