Interface OperationProvider<T extends Operation<T>>
- Type Parameters:
T- the operation type
- All Known Subinterfaces:
DomainOperation<T>, Operation<T>, PdoCacheOperation, PdoCacheOperationPersistence, PersistentOperation<T>
- All Known Implementing Classes:
AbstractDomainOperation, AbstractPersistentOperation, DummyPersistentOperation, PdoCacheOperationPersistenceImpl
-
Method Summary
Modifier and TypeMethodDescriptionGets the operation.default Top()Creates a new instance of the same type as the operation.default TCreates a new instance of the same type as the operation within a sub context.
The sub context is created only if the operation's context is not already within the given name.
-
Method Details
-
getOperation
-
op
-
op
Creates a new instance of the same type as the operation within a sub context.
The sub context is created only if the operation's context is not already within the given name. The root entity of the context, if any, is kept.- Parameters:
contextName- the context name- Returns:
- the new instance
-