More concretely, for the case in hand - invoking a method on another context
during the install phase...
The code should be something like:
| if (context instanceof DispatchContext)
| {
| DispatchContext dc = (DispatchContext) context;
| dc.dispatch(...);
| }
| else
| {
| throw new IllegalArgumentException("Cannot install, context " + context +
" does not implement DispatchContext");
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002896#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...