OK. I assumed, perhaps erroneously, that the component overriding rules would only work if
you looked up the component by name. I believed that this code would always return an
instance of ManagedJbpmContext.
| public static JbpmContext instance()
| {
| if ( !Contexts.isEventContextActive() )
| {
| throw new IllegalStateException("no active event context");
| }
| return (JbpmContext) Component.getInstance(ManagedJbpmContext.class,
ScopeType.EVENT);
| }
|
Are you saying that I can install my own replacement for ManagedJbpmContext and that the
ManagedJBpmContext.instance() call shown above would return my component?
Cheers
J
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108817#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...