Re: First Crack at Repository Problem

"Juozas Baliuka" <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <04f701c1e776$bef8fb30$a901a8c0@juozas>
Hi,
I reviewed code, I think ClassLoaderRepository
 is very good idea, but I don't understand meaning of
org.apache.bcel.util.SyntheticRepository
It doe's the same as  new
lassLoaderRepository( ClassLoader.getSystemClassLoader() );
but uses not very good "ClassPath" idea .

>
> I've finished a first crack at the Repository
> problem, based on some of the replies.
>
> Basically, I created a new interface:
>   org.apache.bcel.util.Repository
>
> And two classes:
>   org.apache.bcel.util.SyntheticRepository
>   org.apache.bcel.util.ClassLoaderRepository
>
> (I'm open for suggestions on names.)
>
> Synthetic is the default repository, which uses
> the ClassPath class.  ClassLoaderRepository is
> what I've been looking for.
>
> The attached file also has the diff of the
> JavaClass file to give an idea of how the
> transformation works.
>
> Enjoy,
>
> DDP
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:   <mailto:[email protected]>
> For additional commands, e-mail: <mailto:[email protected]>
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.