Module org.tentackle.pdo
Package org.tentackle.pdo
Interface OperationProvider<T extends Operation<T>>
- Type Parameters:
T
- the operation type
- All Known Subinterfaces:
DomainOperation<T>
,Operation<T>
,PersistentOperation<T>
- All Known Implementing Classes:
AbstractDomainOperation
,AbstractPersistentOperation
,DummyPersistentOperation
public interface OperationProvider<T extends Operation<T>>
Provider for an
Operation
.- Author:
- harald
-
Method Summary
-
Method Details
-
getOperation
T getOperation()Gets the operation.- Returns:
- the operation
-
op
Creates a new instance of the same type as the operation.- Returns:
- the new instance
-
op
Creates a new instance of the same type as the operation within a new sub context.- Parameters:
contextName
- the context name- Returns:
- the new instance
-