[Registry-dev] Needing a context for Registry

Chathura C. Ekanayake chathura at wso2.com
Tue Jan 15 22:34:04 PST 2008


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
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
>   




More information about the Registry-dev mailing list