You just use the kernel as a factory to create a seperate context
that references the controller. Then you change whatever parameters you like
(subject to security).
| <bean name="ReferenceToController">
| <constructor>
| <factory bean="jboss.kernel:service=Kernel"
| method="getController"/>
| </constructor>
| <property name="executor"><inject
bean="CustomExecutor"/></property>
| ...
| </bean>
|
That's why I said that it is probably not required to be on the interface,
except that it would make programmatic config easier (e.g. testing)
if you don't have to cast/know the implementation detail.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168465#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...