directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <akaras...@gmail.com>
Subject Re: [Schema Refactoring] Schema loading and initializing
Date Mon, 12 Oct 2009 04:34:34 GMT
Thanks for the update.

On Mon, Oct 12, 2009 at 1:52 AM, Emmanuel Lecharny <elecharny@apache.org>wrote:

> Hi guys,
>
> as a result of my latest modifications, here is what is needed to get a set
> of schemas to be loaded :
>
>           JarLdifSchemaLoader loader = new JarLdifSchemaLoader();
>           Registries registries = new Registries();
>           registries.setRelaxed( true );
>           loader.loadAllEnabled( registries );
>           registries.checkRefInteg();
>
> We need :
> - a SchemaLoader, which will read the schema either from a Jar or from Ldif
> files
> - a new Registries, with relaxed constraints
> - to load all the SchemaEntities without doing any chack (loadAllEnabled)
> - and at the end, a check which will not only return a list of errors (if
> any), but also update the references for each SchemaEntity.
>
> There is a bit more work to be done :
> o Handle the Using and UsedBy map so that they are feed
> o try to get those 4 lines included in a method.
>
> --
> --
> cordialement, regards,
> Emmanuel L├ęcharny
> www.iktek.com
> directory.apache.org
>
>
>


-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org

Mime
View raw message