Interface DomainDelegateLinker


public interface DomainDelegateLinker
Links the domain delegate with its dynamic proxy.
Provided to exclude the methods setPdo and setOperation from the interfaces PdoProvider and OperationProvider.
  • Method Details

    • getInstance

      static DomainDelegateLinker getInstance()
      The singleton.
      Returns:
      the singleton
    • linkDomainObject

      <T extends PersistentDomainObject<T>> void linkDomainObject(T pdo, DomainObject<T> delegate)
      Link the domain delegate to its PersistentDomainObject.
      Type Parameters:
      T - the PDO type
      Parameters:
      pdo - the PDO proxy
      delegate - the domain delegate implementation
    • linkDomainOperation

      <T extends Operation<T>> void linkDomainOperation(T operation, DomainOperation<T> delegate)
      Links the domain delegate to its Operation.
      Type Parameters:
      T - the operation type
      Parameters:
      operation - the operation proxy
      delegate - the domain delegate implementation