Forums Register Login

Error in spec?

+Pie Number of slices to send: Send
EJB3 core:

12.8.1 Specification of Interceptors
The interceptor deployment descriptor element is used to specify the interceptor methods of an
interceptor class. The interceptor methods are specified by using the around-invoke, pre-construct,
post-destroy, pre-passivate, and post-activate elements.

+Pie Number of slices to send: Send
Yes, the interceptors may define pre-destroy and post-construct callbacks, it is correct. You can also do it with annotations.
+Pie Number of slices to send: Send
i know that. even the bean can do that.
but the spec says "pre-construct" (instead of post-construct)
and post-destroy (that's also nonsense, there's nothing to do after the bean is destroyed)
+Pie Number of slices to send: Send
Right, didn't notice this. Looks wrong indeed.
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 813 times.
Similar Threads
Transaction ManageMent in Spring with Hibernate
Pattern Matching
Damm Final Variable
Problem with EJB 3.0 Specs Intercptors ......
Structs Resource Bundle
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:37:26.