"ron.sigal(a)jboss.com" wrote :
| 3.
| I suppose the goal is to configure the server invokers as independent pojos, but a
problem is that server invokers are created by a factory method in
org.jboss.remoting.InvokerRegistry, which is called by Connector. In this particular
case, I could change things so that server invokers are created by constructors that
register the new invoker with InvokerRegistry, but it seems like a general issue, and
I'm wondering if there is a general solution.
|
There are various ways one can register a bean with another bean in the mc without having
to code such a dependency. For example, you can use something like this:
| <bean name="BisocketInvoker"
| class="...">
| <install bean="InvokerRegistry"
method="addInvoker">
| <parameter>
| <this/>
| </parameter>
| </install>
| ...
| </bean>
|
this says that the BisocketInvoker bean should be added to the InvokerRegistry bean by
calling its addInvoker method with the BisocketInvoker bean instance passed as the
argument.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041239#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...