Class ReplaceLobClassTransformInjector
java.lang.Object
com.broadleafcommerce.common.jpa.transform.ReplaceLobClassTransformInjector
- All Implemented Interfaces:
ClassTransformInjector
Primarily used in conjunction with the *
broadleaf.jpa.replace.lob.classes property -
along with the * AlternateLob annotation. One or more classes can be configured in the
`classes` property in * a service configuration. Then, in the target classes themselves, use the
AlternateLob at * the field level to replace a Lob annotation with a Hibernate
Type annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(boolean dryRun) Initialize the transformation and subsequent redefinition of classes in the classloader.voidreset()Reload previously targeted classes (presumably throughClassTransformInjector.init(boolean)) with their original state - prior to transformation.
-
Constructor Details
-
ReplaceLobClassTransformInjector
-
-
Method Details
-
init
public void init(boolean dryRun) Description copied from interface:ClassTransformInjectorInitialize the transformation and subsequent redefinition of classes in the classloader.- Specified by:
initin interfaceClassTransformInjector- Parameters:
dryRun- Whether or not redefinition should actually take place, or just identification of transformation targets and logging.
-
reset
public void reset()Description copied from interface:ClassTransformInjectorReload previously targeted classes (presumably throughClassTransformInjector.init(boolean)) with their original state - prior to transformation.- Specified by:
resetin interfaceClassTransformInjector
-
getMarkers
-