| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.springframework.test.ConditionalTestCase
org.springframework.test.AbstractSpringContextTests
org.springframework.test.AbstractSingleSpringContextTests
org.springframework.test.AbstractDependencyInjectionSpringContextTests
org.springframework.test.AbstractTransactionalSpringContextTests
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests
org.springframework.test.jpa.AbstractJpaTests
org.springframework.test.jpa.AbstractAspectjJpaTests
public abstract class AbstractAspectjJpaTests
Subclass of AbstractJpaTests that activates AspectJ load-time weaving
 and allows the ability to specify a custom location for AspectJ's
 aop.xml file.
| Field Summary | |
|---|---|
| static String | DEFAULT_AOP_XML_LOCATIONDefault location of the aop.xmlfile in the class path:
 "META-INF/aop.xml" | 
| Fields inherited from class org.springframework.test.jpa.AbstractJpaTests | 
|---|
| entityManagerFactory, sharedEntityManager | 
| Fields inherited from class org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests | 
|---|
| profileValueSource, simpleJdbcTemplate | 
| Fields inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests | 
|---|
| jdbcTemplate | 
| Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests | 
|---|
| transactionDefinition, transactionManager, transactionStatus | 
| Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests | 
|---|
| AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO | 
| Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests | 
|---|
| applicationContext | 
| Fields inherited from class org.springframework.test.ConditionalTestCase | 
|---|
| logger | 
| Constructor Summary | |
|---|---|
| AbstractAspectjJpaTests() | |
| Method Summary | |
|---|---|
| protected  void | customizeResourceOverridingShadowingClassLoader(ClassLoader shadowingClassLoader)Customize the shadowing class loader. | 
| protected  String | getActualAopXmlLocation()Return the actual location of the aop.xmlfile
 in the class path. | 
| Methods inherited from class org.springframework.test.jpa.AbstractJpaTests | 
|---|
| cacheKeys, createContainerManagedEntityManager, createShadowingClassLoader, getActualOrmXmlLocation, runBare, setDirty, setEntityManagerFactory, shouldUseShadowLoader | 
| Methods inherited from class org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests | 
|---|
| findUniqueProfileValueSourceFromContext, getTestMethod, isDisabledInThisEnvironment, isRollback, setDataSource | 
| Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests | 
|---|
| countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setSqlScriptEncoding | 
| Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests | 
|---|
| endTransaction, isDefaultRollback, onSetUp, onSetUpBeforeTransaction, onSetUpInTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction | 
| Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests | 
|---|
| getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables | 
| Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests | 
|---|
| contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigLocations, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setUp, tearDown | 
| Methods inherited from class org.springframework.test.AbstractSpringContextTests | 
|---|
| addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty | 
| Methods inherited from class org.springframework.test.ConditionalTestCase | 
|---|
| getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled | 
| Methods inherited from class junit.framework.TestCase | 
|---|
| countTestCases, createResult, getName, run, run, runTest, setName, toString | 
| Methods inherited from class junit.framework.Assert | 
|---|
| assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String DEFAULT_AOP_XML_LOCATION
aop.xml file in the class path:
 "META-INF/aop.xml"
| Constructor Detail | 
|---|
public AbstractAspectjJpaTests()
| Method Detail | 
|---|
protected void customizeResourceOverridingShadowingClassLoader(ClassLoader shadowingClassLoader)
AbstractJpaTests
customizeResourceOverridingShadowingClassLoader in class AbstractJpaTestsshadowingClassLoader - this parameter is actually of type
 ResourceOverridingShadowingClassLoader, and can safely to be cast to
 that type. However, the signature must not be of that type as that
 would cause the present class loader to load that type.protected String getActualAopXmlLocation()
aop.xml file
 in the class path. The default is "META-INF/aop.xml".
 Override this method to point to a specific aop.xml
 file within your test suite, allowing for different config files
 to co-exist within the same class path.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||