org.mule.config.spring
Class ApplicationContextsTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.config.spring.ApplicationContextsTestCase

public class ApplicationContextsTestCase
extends AbstractMuleTestCase


Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
ApplicationContextsTestCase()
           
 
Method Summary
 void testAppContextTogetherWithMuleConfig()
          Test the most common approach: Create the Spring config + Mule config in a single AppContext.
 void testParentContext()
          Test that an existing appContext can be used as a parent AppContext for Mule
 void testSanity()
           
 void testSpringConfigurationBuilder()
          Test that an existing appContext can be added to Mule's internal Registries
 void testSpringConfigurationBuilderBackwardsPrecedence()
           
 void testSpringConfigurationBuilderPrecedence()
          Test that the same bean from the 2nd appContext will have precedence over the 1st appContext
 void testTransientRegistryPrecedence()
          Test that the same bean from the TransientRegistry will have precedence over the 1st appContext
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationContextsTestCase

public ApplicationContextsTestCase()
Method Detail

testSanity

public void testSanity()
                throws Exception
Throws:
Exception

testSpringConfigurationBuilder

public void testSpringConfigurationBuilder()
                                    throws Exception
Test that an existing appContext can be added to Mule's internal Registries

Throws:
Exception

testSpringConfigurationBuilderPrecedence

public void testSpringConfigurationBuilderPrecedence()
                                              throws Exception
Test that the same bean from the 2nd appContext will have precedence over the 1st appContext

Throws:
Exception

testSpringConfigurationBuilderBackwardsPrecedence

public void testSpringConfigurationBuilderBackwardsPrecedence()
                                                       throws Exception
Throws:
Exception

testTransientRegistryPrecedence

public void testTransientRegistryPrecedence()
                                     throws Exception
Test that the same bean from the TransientRegistry will have precedence over the 1st appContext

Throws:
Exception

testParentContext

public void testParentContext()
                       throws Exception
Test that an existing appContext can be used as a parent AppContext for Mule

Throws:
Exception

testAppContextTogetherWithMuleConfig

public void testAppContextTogetherWithMuleConfig()
                                          throws Exception
Test the most common approach: Create the Spring config + Mule config in a single AppContext.

Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.