|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader org.springframework.core.DecoratingClassLoader org.springframework.instrument.classloading.ShadowingClassLoader org.springframework.instrument.classloading.ResourceOverridingShadowingClassLoader org.springframework.test.jpa.OrmXmlOverridingShadowingClassLoader
class OrmXmlOverridingShadowingClassLoader
Subclass of ShadowingClassLoader that overrides attempts to
locate orm.xml
.
This class must not be an inner class of AbstractJpaTests to avoid it being loaded until first used.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ORM_XML_LOCATION
Default location of the orm.xml file in the class path:
"META-INF/orm.xml" |
Fields inherited from class org.springframework.instrument.classloading.ShadowingClassLoader |
---|
DEFAULT_EXCLUDED_PACKAGES |
Constructor Summary | |
---|---|
OrmXmlOverridingShadowingClassLoader(java.lang.ClassLoader loader,
java.lang.String realOrmXmlLocation)
|
Method Summary |
---|
Methods inherited from class org.springframework.instrument.classloading.ResourceOverridingShadowingClassLoader |
---|
copyOverrides, getResource, getResourceAsStream, getResources, override, suppress |
Methods inherited from class org.springframework.instrument.classloading.ShadowingClassLoader |
---|
addTransformer, copyTransformers, isEligibleForShadowing, loadClass |
Methods inherited from class org.springframework.core.DecoratingClassLoader |
---|
excludeClass, excludePackage, isExcluded |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_ORM_XML_LOCATION
orm.xml
file in the class path:
"META-INF/orm.xml"
Constructor Detail |
---|
public OrmXmlOverridingShadowingClassLoader(java.lang.ClassLoader loader, java.lang.String realOrmXmlLocation)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |