commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <>
Subject RE: [events] DynamicProxy decorator
Date Mon, 19 Apr 2004 19:11:20 GMT
> I've implemented an ObservableCollection decorator that is
> based upon the dynamic proxy paradigm. With only a few lines of
> code, this implementation allows the following:

> Buffer buffer=new BoundedFifoBuffer();
> ObservableCollection observable=ObservableCollectionUtil.decorate(buffer);
> assert observable instanceof Buffer;
> assert observable instanceof BoundedCollection;

> I thought I could share.

Serendipitously, Stephen Colebourne was just looking at a very similar issue
(serializable decoractors), and might find your approach interesting.

	--- Noel

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message