Class JpaEntityScanBean

java.lang.Object
com.broadleafcommerce.common.jpa.data.entity.JpaEntityScanBean
All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware

public class JpaEntityScanBean extends Object implements com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
Simple bean used to inform entity scanning for EntityManagerFactory bean definitions.
Author:
Jeff Fischer
  • Constructor Details

    • JpaEntityScanBean

      public JpaEntityScanBean(String[] basePackages)
    • JpaEntityScanBean

      public JpaEntityScanBean(String[] basePackages, String dataRoutePartition)
  • Method Details

    • getBasePackages

      public String[] getBasePackages()
    • getDataRoutePartition

      public String getDataRoutePartition()
      Specified by:
      getDataRoutePartition in interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
    • getDataRouteKey

      public String getDataRouteKey()
      Optional value. This is generally set as part of JpaTrackableFlowScanBeanRegistrar.
    • setBasePackages

      public void setBasePackages(String[] basePackages)
    • setDataRoutePartition

      public void setDataRoutePartition(String dataRoutePartition)
    • setDataRouteKey

      public void setDataRouteKey(String dataRouteKey)
      Optional value. This is generally set as part of JpaTrackableFlowScanBeanRegistrar.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object