|
Yes, parent().create(endEntity) is not intercepted. The reason is that Weld does not intercept bridge methods. If you call parent().create(endEntity) a similar synthetic bridge method created by compiler is invoked:
public class Child extends Parent<EndEntity> {
public void create(Object entity) {
create((EndEntity) entity);
}
}
The following code snippet should work:
protected void submitEntity(EndEntity entity) {
child.create(new EndEntity());
}
|