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 Summary
Constructors Constructor Description DefaultRepositoryUtility()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Object>getRepositoryForEntity(Class<?> entityClass)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext)- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getRepositoryForEntity
public Optional<Object> getRepositoryForEntity(Class<?> entityClass)
- Specified by:
getRepositoryForEntityin interfaceRepositoryUtility
-
-