https://docs.spring.io/spring/docs/5.2.7.RELEASE/spring-framework-reference/core.html#aop-schema-params
There is code example in this chapter of documentation
public interface PersonService {
Person getPerson(String personName, int age);
}
public class DefaultFooService implements FooService {
public Person getPerson(String name, int age) {
return new Person(name, age);
}
}
Maybe you mean
public class DefaultPersonService implements PersonService {}
instead
public class DefaultFooService implements FooService {}
Because further in the example XML configuration is written
<bean id="personService" class="x.y.service.DefaultPersonService"/>
Comment From: quaff
You should submit a PR.
Comment From: maksimkoniukhau
Yes. I did it
Comment From: sbrannen
Superseded by #25351