Interface TypeTarget
-
- All Known Subinterfaces:
ConstraintDefinitionContext<A>,ConstraintMappingTarget,ContainerElementConstraintMappingContext,CrossParameterConstraintMappingContext,ParameterConstraintMappingContext,PropertyConstraintMappingContext,ReturnValueConstraintMappingContext,TypeConstraintMappingContext<C>
- All Known Implementing Classes:
ContainerElementConstraintMappingContextImpl,TypeConstraintMappingContextImpl
public interface TypeTargetFacet of a constraint mapping creational context which allows to select the bean type to which the next operations shall apply.- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <C> TypeConstraintMappingContext<C>type(Class<C> type)Selects the type to which the next operations shall apply.
-
-
-
Method Detail
-
type
<C> TypeConstraintMappingContext<C> type(Class<C> type)
Selects the type to which the next operations shall apply. A given type may only be configured once.- Type Parameters:
C- The type to select.- Parameters:
type- The type to select.- Returns:
- A creational context representing the selected type.
-
-