Class OverridingClassFileLocator
- java.lang.Object
-
- org.hibernate.bytecode.enhance.internal.bytebuddy.OverridingClassFileLocator
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,net.bytebuddy.dynamic.ClassFileLocator
public final class OverridingClassFileLocator extends Object implements net.bytebuddy.dynamic.ClassFileLocator
Allows wrapping another ClassFileLocator to add the ability to define resolution overrides for specific resources.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.ClassFileLocator
net.bytebuddy.dynamic.ClassFileLocator.Compound, net.bytebuddy.dynamic.ClassFileLocator.Filtering, net.bytebuddy.dynamic.ClassFileLocator.ForClassLoader, net.bytebuddy.dynamic.ClassFileLocator.ForFolder, net.bytebuddy.dynamic.ClassFileLocator.ForInstrumentation, net.bytebuddy.dynamic.ClassFileLocator.ForJarFile, net.bytebuddy.dynamic.ClassFileLocator.ForModule, net.bytebuddy.dynamic.ClassFileLocator.ForModuleFile, net.bytebuddy.dynamic.ClassFileLocator.ForUrl, net.bytebuddy.dynamic.ClassFileLocator.NoOp, net.bytebuddy.dynamic.ClassFileLocator.PackageDiscriminating, net.bytebuddy.dynamic.ClassFileLocator.Resolution, net.bytebuddy.dynamic.ClassFileLocator.Simple
-
-
Constructor Summary
Constructors Constructor Description OverridingClassFileLocator(net.bytebuddy.dynamic.ClassFileLocator parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
net.bytebuddy.dynamic.ClassFileLocator.Resolution
locate(String name)
-
-
-
Method Detail
-
locate
public net.bytebuddy.dynamic.ClassFileLocator.Resolution locate(String name) throws IOException
- Specified by:
locate
in interfacenet.bytebuddy.dynamic.ClassFileLocator
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-