Class DefaultClassTransformInjector
java.lang.Object
com.broadleafcommerce.common.jpa.transform.DefaultClassTransformInjector
- All Implemented Interfaces:
ClassTransformInjector
Default implementation of
ClassTransformInjector. Primarily used in conjunction with the
broadleaf.jpa.oracle.short.identifier.classes property - along with the
ShortAlias annotation. One or more classes can be configured in the `classes` property in
a service configuration. Then, in the target classes themselves, use the ShortAlias at
the type level to adjust Table name value, or at the field level to adjust Column
name value.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(boolean dryRun) Initialize the transformation and subsequent redefinition of classes in the classloader.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.common.jpa.transform.ClassTransformInjector
reset
-
Constructor Details
-
DefaultClassTransformInjector
-
-
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.
-
getMarkers
-
getIdentifierMap
-