Class DefaultRepositoryUtility

java.lang.Object
com.broadleafcommerce.data.tracking.core.DefaultRepositoryUtility
All Implemented Interfaces:
RepositoryUtility, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class DefaultRepositoryUtility extends Object implements org.springframework.context.ApplicationContextAware, RepositoryUtility
  • Constructor Details

    • DefaultRepositoryUtility

      public DefaultRepositoryUtility()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • getRepositoryForEntity

      public Optional<Object> getRepositoryForEntity(Class<?> entityClass)
      Specified by:
      getRepositoryForEntity in interface RepositoryUtility