Expose a method to specify dynamic sub-contexts, and start them by default

Issue #19 resolved
Asankha Perera
created an issue

Currently the root configuration can only start static sub-contexts that cannot be unloaded/reloaded at runtime, through such facility is available from the UConsole/JMX

Its better to expose a way to configure dynamically loaded sub-contexts that are started by default from the root configuration

Comments (1)

  1. Asankha Perera reporter

    Instead of specifying static imports from the root configuration as: <import resource="ultra-custom.xml"/>

    Now, you can define dynamic sub-contexts and start them up by default by specifying them as:

    <bean id="ultra-config" class="org.adroitlogic.ultraesb.core.ConfigurationImpl"> <!--Dynamically Start the following child configurations, so that they can be unloaded/reloaded at runtime--> <property name="dynamicSubContexts"> <list> <value>conf/ultra-dynamic.xml</value> </list> </property> </bean>

  2. Log in to comment