Class AOPConfiguration
java.lang.Object
info.ejava_student.starter.assignment3.aop.houserentals.AOPConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis will construct a List of MethodConstraints from a property or YAML file provided by the support modules.validatorAspect(NullPropertyAssertion nullPropertyAssertion, List<MethodConstraints> methodConstraints)
-
Constructor Details
-
AOPConfiguration
public AOPConfiguration()
-
-
Method Details
-
nullPropertyAssertion
-
methodConstraints
This will construct a List of MethodConstraints from a property or YAML file provided by the support modules. MethodConstraints contains propert- Returns:
-
validatorAspect
@Bean @Profile("aop") public ValidatorAspect validatorAspect(NullPropertyAssertion nullPropertyAssertion, List<MethodConstraints> methodConstraints)
-