We have another reason for having a context. That is to store the registry configuration details read from the registry.xml. For example we are going to add media type handler and URL handler class names to the regisry.xml file and the MediaTypeManager/URLHandlerManager should load them on startup. We need context to pass the configuration details to those manager classes.
So I will implement a context class to store all the discussed information. We can change it later if we find a better way to do this.
Thanks, Chathura Deepal Jayasinghe wrote:
At the beginning we had to throw away the RegistryContext (runtime object of the registry) since we did not find real use of having that. But now we are storing three separate properties in System.properties so how about introduce a new class to keep all of them and store only that in the System.property (In the future we may have some more). We are storing following in the servlet and system.properties - Registry instance - systemRegistry - RegistryRealm Thoughts ... -Deepal _______________________________________________ Registry-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
_______________________________________________ Registry-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
