|
Re: How to execute a Handler by id? [message #985959 is a reply to message #985901] |
Fri, 16 November 2012 21:06 |
Eclipse User |
|
|
|
No through any service AFAIK.
You can do a ContextInjectionFactory.invoke(handler.getObject(), Execute.class, context); where handler is your MHandler and context is the context your handler will use as an injection supplier (where the values will come from) but I am not sure it is a good idea to use it this way although it depends on the specific case.
|
|
|
|
Re: How to execute a Handler by id? [message #986011 is a reply to message #986005] |
Sat, 17 November 2012 13:08 |
Eclipse User |
|
|
|
Thomas Schindl wrote on Sat, 17 November 2012 12:18EHandlerService#execute
Tom
Am 16.11.12 22:06, schrieb Sopot Cela:
> No through any service AFAIK.
> You can do a ContextInjectionFactory.invoke(handler.getObject(),
> Execute.class, context); where handler is your MHandler and context is
> the context your handler will use as an injection supplier (where the
> values will come from) but I am not sure it is a good idea to use it
> this way although it depends on the specific case.
There's no such method. The executeHandler expects a ParametrizedCommand, not a MHandler
[Updated on: Sat, 17 November 2012 13:09] by Moderator Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02147 seconds