Package org.datanucleus.enhancement
Interface ExecutionContextReference
-
- All Known Subinterfaces:
ExecutionContext
- All Known Implementing Classes:
ExecutionContextImpl,ExecutionContextThreadedImpl
public interface ExecutionContextReferenceReference for an ExecutionContext, for use in the enhancement contract. This is used because if we just used ExecutionContext it would drag in many other classes etc, so reducing exposure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectfindObject(Object id, boolean validate)Accessor for an object given the object id.ObjectgetOwner()Accessor for the owner of the ExecutionContext.
-
-
-
Method Detail
-
getOwner
Object getOwner()
Accessor for the owner of the ExecutionContext. This will typically be a PersistenceManager (JDO) or EntityManager (JPA).- Returns:
- The owner
-
-