Class DefaultClassTransformInjector

java.lang.Object
com.broadleafcommerce.common.jpa.transform.DefaultClassTransformInjector
All Implemented Interfaces:
ClassTransformInjector

public class DefaultClassTransformInjector extends Object implements 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 Details

    • DefaultClassTransformInjector

      public DefaultClassTransformInjector(List<String> markers)
  • 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 interface ClassTransformInjector
      Parameters:
      dryRun - Whether or not redefinition should actually take place, or just identification of transformation targets and logging.
    • getMarkers

      public List<String> getMarkers()
    • getIdentifierMap

      public Map<String,String> getIdentifierMap()