Search in sources :

Example 11 with StaticListableBeanFactory

use of org.springframework.beans.factory.support.StaticListableBeanFactory in project spring-framework by spring-projects.

the class JmsListenerEndpointRegistrarTests method setup.

@Before
public void setup() {
    registrar.setEndpointRegistry(registry);
    registrar.setBeanFactory(new StaticListableBeanFactory());
}
Also used : StaticListableBeanFactory(org.springframework.beans.factory.support.StaticListableBeanFactory) Before(org.junit.Before)

Aggregations

StaticListableBeanFactory (org.springframework.beans.factory.support.StaticListableBeanFactory)11 Test (org.junit.Test)4 ITestBean (org.springframework.tests.sample.beans.ITestBean)2 IndexedTestBean (org.springframework.tests.sample.beans.IndexedTestBean)2 TestBean (org.springframework.tests.sample.beans.TestBean)2 FooServiceImpl (example.scannable.FooServiceImpl)1 Connection (java.sql.Connection)1 HashMap (java.util.HashMap)1 DataSource (javax.sql.DataSource)1 Before (org.junit.Before)1 RootBeanDefinition (org.springframework.beans.factory.support.RootBeanDefinition)1 MessageSource (org.springframework.context.MessageSource)1 GenericApplicationContext (org.springframework.context.support.GenericApplicationContext)1 BeanFactoryDataSourceLookup (org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup)1 IsolationLevelDataSourceRouter (org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter)1 DummyFactory (org.springframework.tests.sample.beans.factory.DummyFactory)1 TransactionStatus (org.springframework.transaction.TransactionStatus)1 JtaTransactionManager (org.springframework.transaction.jta.JtaTransactionManager)1 JtaTransactionObject (org.springframework.transaction.jta.JtaTransactionObject)1 TransactionCallbackWithoutResult (org.springframework.transaction.support.TransactionCallbackWithoutResult)1