wiring modules online

1 view
Skip to first unread message

tom

unread,
Oct 23, 2009, 11:33:21 PM10/23/09
to pococ...@googlegroups.com
Ke Jin:

How does PocoCapsule support wiring modules dynamically online?
the situation is that the application server is running with some
service module,
then we need add new service module online without shutting down
the application server.


Best regards
Tom

Ke Jin

unread,
Oct 24, 2009, 12:42:42 AM10/24/09
to pococapsule
Hi Tom,

PocoCapsule only supports dynamic wiring. I guess what you want is to
wire "additional" services at different times after the application
server has been started and initialized. This can be done by
initializing different application contexts at those intended times,
each context wires the some new services.

Also, PocoCapsule supports dynamic service re-wiring. See the dynamic-
wiring example at:

<http://www.pocomatic.com/docs/cpp-examples/basic-ioc/dynamic-wiring>

Hope this helps,
Ke
Reply all
Reply to author
Forward
0 new messages