Re: What is transient metadata ?

Svata Dedic <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Holger Krug wrote:
> 
> Did you consider an alternative solution where the Java module does
> not create the actual meta-data and add it to the repository, but
> where the java module points the repository to the source/class files
> and gives the functional rule how to compute meta-data from these
> files. The repository then computes the meta-data, when required by
> its clients and frees it using some kind of caching strategy.
> 
Interesting - how would you imagine the `functional rules' ? I would 
advise against building any kind of interpret machine into the MDR; if 
you think about some callback, that's most probably how it will be done.
Right now I am thinking about either a model method, or a derived 
association, whose implementation will call out to a metadata producer 
in the case the data won't be available. So instead of giving rules, I 
will hook in a metadata producing machine.
Ideally, a client using JMI reflection could extract that data without 
knowing they're transient.

-Svata

-- 
Svatopluk Dedic            <mailto:[email protected]>
NetBeans, Java/Repository  <http://java.netbeans.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.