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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(boolean dryRun) Initialize the transformation and subsequent redefinition of classes in the classloader.void
reset()
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:ClassTransformInjector
Initialize the transformation and subsequent redefinition of classes in the classloader.- Specified by:
init
in 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:ClassTransformInjector
Reload previously targeted classes (presumably throughClassTransformInjector.init(boolean)
) with their original state - prior to transformation.- Specified by:
reset
in interfaceClassTransformInjector
-
getMarkers
-