You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Dmitri Plotnikov <dp...@yahoo.com> on 2002/10/29 00:12:32 UTC

[clazz] Clazz APIs. Take III

Please find attached a more complete version of the Clazz APIs and
implementations of some fundamental methods.  The code also compiles
now.

If you like the names of classes and the APIs, I will check the source
code in.

I would like to suggest that we rename AClass into something like
MutableClazz or DynaClazz, AField to MutableAttribute or DynaAttribute
etc and move them into a package of their own like "clazz.mutable" or
"clazz.dyna".

If you allow me, I will perform the renaming, the move and the API
adjustment.

As the next step, I would like to write an implementation of the Clazz
APIs based on reflection.

Please, advise.

- Dmitri


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

Re: [clazz] Clazz APIs. Take III

Posted by Dmitri Plotnikov <dm...@apache.org>.
----- Original Message -----
From: "Stephen Colebourne" <sc...@btopenworld.com>
To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>
Sent: Monday, October 28, 2002 7:39 PM
Subject: Re: [clazz] Clazz APIs. Take III


> Dmitri, at present we have two APIs with some similar aspects, but some
> different. We need to unite them before an implementation.
Sure.

IMO, the AClass stuff is a perfect draft for the implementation of Clazz
interfaces that allow in-memory construction of "classes" a la DynaClass.
OTOH, the APIs I published are primarily interfaces.  They address a couple
of aspects not addressed by A*:  value access/manipulation and
Clazz-provider plug-in architecture.

We need to hash out interfaces before we do any refactoring of the
implementation.

> The AClass/AField code I sent you originally is nothing special. If it
helps
> in building an implemntation then great, otherwise c'est la vie.
I think it takes us 80% of the way and only needs some refactoring.

<snip/>

> Stephen
>
<snip/>

- Dmitri


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [clazz] Clazz APIs. Take III

Posted by Stephen Colebourne <sc...@btopenworld.com>.
Dmitri, at present we have two APIs with some similar aspects, but some
different. We need to unite them before an implementation.

The AClass/AField code I sent you originally is nothing special. If it helps
in building an implemntation then great, otherwise c'est la vie.

I will summarise the decisions to be made in new threads.

Stephen

From: "Dmitri Plotnikov" <dp...@yahoo.com>
> If you like the names of classes and the APIs, I will check the source
> code in.
>
> I would like to suggest that we rename AClass into something like
> MutableClazz or DynaClazz, AField to MutableAttribute or DynaAttribute
> etc and move them into a package of their own like "clazz.mutable" or
> "clazz.dyna".
>
> If you allow me, I will perform the renaming, the move and the API
> adjustment.
>
> As the next step, I would like to write an implementation of the Clazz
> APIs based on reflection.
>
> Please, advise.
>
> - Dmitri
>
>
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/


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


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>