Class 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 Detail

      • JpaEntityScanBean

        public JpaEntityScanBean​(String[] basePackages)
      • JpaEntityScanBean

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

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object