On Mon, Apr 19, 2010 at 11:50 AM, Pete Muir
<pmuir@redhat.com>
wrote:
Ok.
I *think* I might get what you are talking about now - you are
concerned because the interceptor has to go into the impl/ jar, not the
API jar? And that therefore developers are going to forget that it is
actually part of the public API? Or?
Because otherwise, I don't have a clue how putting something in this
special intercept package can magically stop people refactoring... If I
have
org.jboss.seam.intercept.ConversationBoundaryInterceptor
and someone renames it to
org.jboss.seam.intercept.ConversationEdgeInterceptor
it's just as broken for users...
That's a great point and now I see this so clearly. Interceptors
must be considered part of the public API and a stable API is expected
not to shift (for backwards compatibility reasons). It's public API
because the develop must refer to the interceptors in beans.xml
(according to spec, putting workarounds aside).