AbstractJUnit38SpringContextTests)@Deprecated public abstract class AbstractAspectjJpaTests extends AbstractJpaTests
AbstractJpaTests that activates AspectJ load-time weaving and
allows for specifying a custom location for AspectJ's aop.xml file.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AOP_XML_LOCATION
Deprecated.
Default location of the
aop.xml file in the class path:
"META-INF/aop.xml" |
entityManagerFactory, sharedEntityManagerprofileValueSource, simpleJdbcTemplatejdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NOapplicationContextlogger| Constructor and Description |
|---|
AbstractAspectjJpaTests()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
customizeResourceOverridingShadowingClassLoader(ClassLoader shadowingClassLoader)
Deprecated.
Customize the shadowing class loader.
|
protected String |
getActualAopXmlLocation()
Deprecated.
Return the actual location of the
aop.xml file
in the class path. |
cacheKeys, createContainerManagedEntityManager, createShadowingClassLoader, getActualOrmXmlLocation, runBare, setDirty, setEntityManagerFactory, shouldUseShadowLoaderfindUniqueProfileValueSourceFromContext, getTestMethod, isDisabledInThisEnvironment, isRollback, setDataSourcecountRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setSqlScriptEncodingendTransaction, isDefaultRollback, onSetUp, onSetUpBeforeTransaction, onSetUpInTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransactiongetAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariablescontextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigLocations, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setUp, tearDownaddContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirtygetDisabledTestCount, isDisabledInThisEnvironment, recordDisabledassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toStringpublic static final String DEFAULT_AOP_XML_LOCATION
aop.xml file in the class path:
"META-INF/aop.xml"protected void customizeResourceOverridingShadowingClassLoader(ClassLoader shadowingClassLoader)
AbstractJpaTestscustomizeResourceOverridingShadowingClassLoader 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.