-
- All Known Subinterfaces:
ExecutionContext
- All Known Implementing Classes:
ExecutionContextImpl
,ExecutionContextThreadedImpl
public interface ExecutionContextReference
Reference 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. TODO The signature of findObject could return Persistable. Would need to update enhancer if we do that.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
findObject(Object id, boolean validate)
Accessor for an object given the object id.Object
getOwner()
Accessor for the owner of the ExecutionContext.
-
-
-
Method Detail
-
getOwner
Object getOwner()
Accessor for the owner of the ExecutionContext. This will be a PersistenceManager (JDO) or EntityManager (JPA/Jakarta).- Returns:
- The owner
-
-