Hi users/devs, I will be working for next couple of days on the following task. I am posting what I need, the changes that I have done so far and also what I intend to do, so as to get some inputs on which piece of tuscany file I have to concentrate more while debugging. On a cursory look, may be seems like my needs are in the DefaultSCADomain class.
What I need to do: Modifying the POJO's at runtime for certain reasons and load them into JVM. Also to have the information for the service name, implementation/interface class for this service, the binding details etc which are mentioned in the composite file, may be in the form of a map which would be great since this map would be accessed in later part of the flow for several reasons like say to find the implementation class given a service name. What is done so far: The ideal solution would be to access the tuscany data stuctures but due to time constraints the following alternative approach is take to get the service information in the composite file. I have parsed the composite file myself and stored this information in a map like <Service Name> to <Implementation class, interface class,exposed bindings> map. After which I have modified the POJO's accordingly at runtime and loaded them into JVM. All this is done even before the tuscany servlet filter is initialized. What I intend to do:'I intend to move the piece of code that modifies the POJO's etc into the tuscany module which has the information on the service name, implementation class etc of the composite file instead of me parsing the composite file and storing a map against it. I need to know the data structure in the tuscany module which holds all the information of the service name, Implementation/interface class and binding details etc which are in the composite file so I can get rid of parsing the contribution and composite file myself and instead depend on tuscany's data structures. If you guys have any other idea, please let me know. Thanks, Lakshman Mukkamalla.
