@Stateless
public class FooBean {
...
@PostConstruct
public void onConstruct(final Bar barParam) {
..
}
..
}
We log a WARN in such cases and ignore that lifecycle annotation on that method. IMO, this lenient approach with a WARN message is better than failing the whole deployment.
I'm marking this issue as "Not a Bug". If you still think this isn't what you want it to be or if you meant something else, then feel free to reopen with further details.
You mean:
We log a WARN in such cases and ignore that lifecycle annotation on that method. IMO, this lenient approach with a WARN message is better than failing the whole deployment.
I'm marking this issue as "Not a Bug". If you still think this isn't what you want it to be or if you meant something else, then feel free to reopen with further details.