Package org.jmolecules.spring
Interface AssociationResolver<T extends org.jmolecules.ddd.types.AggregateRoot<T,ID>,ID extends org.jmolecules.ddd.types.Identifier>
- All Superinterfaces:
AggregateLookup<T,ID>
@Deprecated(since="0.15",
forRemoval=true)
public interface AssociationResolver<T extends org.jmolecules.ddd.types.AggregateRoot<T,ID>,ID extends org.jmolecules.ddd.types.Identifier>
extends AggregateLookup<T,ID>
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Resolves theAggregateRootpointed to by the givenAssociation.default TresolveRequired(org.jmolecules.ddd.types.Association<T, ID> association) Deprecated, for removal: This API element is subject to removal in a future version.Resolves theAggregateRootpointed to by the givenAssociation.Methods inherited from interface org.jmolecules.spring.AggregateLookup
findById
-
Method Details
-
resolve
Deprecated, for removal: This API element is subject to removal in a future version.Resolves theAggregateRootpointed to by the givenAssociation.- Parameters:
association- must not be null.- Returns:
- will never be null.
-
resolveRequired
Deprecated, for removal: This API element is subject to removal in a future version.Resolves theAggregateRootpointed to by the givenAssociation.- Parameters:
association- must not be null.- Returns:
- will never be null.
- Throws:
IllegalArgumentException- in case the resolution fails.
-
org.jmolecules.ddd.integration.AssociationResolver