Interface ClassTransformInjector
-
- All Known Implementing Classes:
DefaultClassTransformInjector,ReplaceLobClassTransformInjector
public interface ClassTransformInjectorResponsible for redefining classes at runtime in the classloader. Primarily used to alter bytecode for entities containing one or more JPA element identifiers that exceed the max length for Oracle. However, this should not be considered a hard limitation of the types of transformations that can take place.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidinit(boolean dryRun)Initialize the transformation and subsequent redefinition of classes in the classloader.default voidreset()Reload previously targeted classes (presumably throughinit(boolean)) with their original state - prior to transformation.
-
-
-
Method Detail
-
init
void init(boolean dryRun)
Initialize the transformation and subsequent redefinition of classes in the classloader.- Parameters:
dryRun- Whether or not redefinition should actually take place, or just identification of transformation targets and logging.
-
reset
default void reset()
Reload previously targeted classes (presumably throughinit(boolean)) with their original state - prior to transformation.
-
-