[MOBY-dev] Using CentralDigestCachedImpl....

Andreas Groscurth groscurt at mpiz-koeln.mpg.de
Wed Dec 5 16:42:51 UTC 2007


Hi,

sorry for reasking that - but has anyone an answer ?

Thanks
andreas

On Monday 03 December 2007 09:45, Andreas Groscurth wrote:
> Hi,
>
> I'm using CentralDigestCachedImpl for caching the datatypes and namespaces
> locally.
>
> CentralDigestCachedImpl cachedImpl = new
> CentralDigestCachedImpl("http://moby.ucalgary.ca/moby/MOBY-Central.pl","htt
>p://moby.ucalgary.ca/MOBY/Central", file.getAbsolutePath() );
> cachedImpl.updateCache( CentralDigestCachedImpl.CACHE_PART_DATATYPES );
> cachedImpl.updateCache( CentralDigestCachedImpl.CACHE_PART_NAMESPACES );
>
> This works fine and re-calls use the local cache.
>
> But when I create a new MobyDataObject, it starts again to fetch the
> datatypes
>
> Fetching data type ontology from
> http://moby.ucalgary.ca/RESOURCES/MOBY-S/Objects
>
> So how do I tell it, that its already has these information ? the
> MobyDataObject can also have a Registry Object - so i guess that can help -
> but how to I link my CachedCentral with a Registry object ?
>
> Or is this otherwise solveable ?
>
> thx
> andreas
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev

-- 
Andreas Groscurth
Bioinformatics Developer
Max Planck Institute for Plant Breeding Research
Carl-von-Linné-Weg 10
50829 Cologne
Germany
E-mail:    groscurt at mpiz-koeln.mpg.de
Phone:    +49(0)221-5062-449




More information about the MOBY-dev mailing list