Class PersistenceContainer
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.filtering.PersistenceContainer
-
public class PersistenceContainer extends Object
Part of theNarrowExecutor.QueryInfo
object that is passed toNarrowExecutor
implementations. It allows theNarrowExecutor
interface to be agnostic to the backing database platform persistence vehicle. For example, if the QueryInfo is being passed to a Jpa specific NarrowExecutor, it would be correct to pass an instance oforg.springframework.data.jpa.core.JpaOperations
to the PersistenceContainer constructor.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description PersistenceContainer(Object context, TrackableBehaviorUtil behaviorUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrackableBehaviorUtil
getBehaviorUtil()
<T> T
unwrap(Class<T> clazz)
-
-
-
Constructor Detail
-
PersistenceContainer
public PersistenceContainer(Object context, TrackableBehaviorUtil behaviorUtil)
-
-
Method Detail
-
unwrap
public <T> T unwrap(Class<T> clazz)
-
getBehaviorUtil
public TrackableBehaviorUtil getBehaviorUtil()
-
-