Following is what I think. Hope be useful. If not, sorry An import can be dynamic or static. Import construct may need to define that fact. For static imports, we can use an API based on a pull model, and for dynamic imports, we can use an API based on a push model(event or notification). There would be an Import Resolver. It may be capable of handling both types of imports or a single type. Axis2 hot-deployment approach is a just implemetaion for resolving Dynamic imports. But, It should not be global but fine-grain. For instance, you can say that all the proxy services located in the given URL are dynamic, or a single proxy is dynamic, etc. That would allow a user to enable hot deployment (dynamic) only for the selected artifacts. It is important to optimize the tasks that should be done by any compoent irrespective of it is a foreground task or a background task.
An import construct should be able to define a single import as well as multiple imports. From Java ... packagename.ClasaName Vs packagename.* => directory/file Vs directory/* or just the directory. We may need to consider how resources in our registry can be imported. It may be another Import Resolver. In that case, they may be multiple Import Resolvers. An import tag can be namespace qualified and the namespace can be used to select the correct Resolver. Thanks, Indika On Fri, Mar 4, 2011 at 12:00 PM, Udayanga Wickramasinghe <[email protected]>wrote: > Hi, > > On Fri, Mar 4, 2011 at 11:21 AM, indika kumara <[email protected]>wrote: > >> Udayanga, I have not studied how 'import' in existing XML based languages >> such as WSDL, works. But, I think the problem you pointed out may have been >> already solved by those languages. If so, introducing <import> construct (in >> multi-conf scenario) would solve the problem in a standard way. BTW, I >> could be wrong. >> >> i'll look into this and the possiblilty of applying this to synapse > config :) > > Regards, > Udayanga-- > > *Udayanga Wickramasinghe* > Software Engineer; WSO2 Inc.; http://wso2.com, > *email: **[email protected]* <[email protected]>* cell: +94 (77) 983-4365 > blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com/> > * > twitter: **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick> > * > * >
