Re: Interesting Anti Pattern...

2003-12-15 Thread Stephen McConnell
Niclas Hedhman wrote: On Tuesday 16 December 2003 12:50, Stephen McConnell wrote: Of the other two there is a pressing need for either actice convergence or documented divergence. Either is an options - only one is viable. One more - Detrimental Status Quo. The evil of indecision.

Re: LifeCycle extensions

2003-12-15 Thread Stephen McConnell
Niclas Hedhman wrote: On Tuesday 16 December 2003 12:35, Stephen McConnell wrote: Some additional content - its not interceptor stuff, but its a lot more useful .. http://avalon.apache.org/merlin/api/org/apache/avalon/activation/lifecycle/ LifecycleCreateExtension.html http://avalon.apache.or

Re: Interesting Anti Pattern...

2003-12-15 Thread Niclas Hedhman
On Tuesday 16 December 2003 12:50, Stephen McConnell wrote: > Of the other two > there is a pressing need for either actice convergence or documented > divergence. > > Either is an options - only one is viable. One more - Detrimental Status Quo. ---

Re: LifeCycle extensions

2003-12-15 Thread Niclas Hedhman
On Tuesday 16 December 2003 12:35, Stephen McConnell wrote: > Some additional content - its not interceptor stuff, but its a lot more > useful .. > http://avalon.apache.org/merlin/api/org/apache/avalon/activation/lifecycle/ >LifecycleCreateExtension.html > http://avalon.apache.org/merlin/api/org/ap

Re: Interesting Anti Pattern...

2003-12-15 Thread Stephen McConnell
Niclas Hedhman wrote: http://www.keelframework.org/mission.shtml"; > Anti-Pattern: Documentation Problems The best feature of open source is also its downfall - wildly varied forms of documentation, with its most important form also being its most problematical - mail lists. Funny thing is, mo

Re: LifeCycle extensions

2003-12-15 Thread Stephen McConnell
Niclas Hedhman wrote: Hi, while looking for alternate ways to implement the Security framework in Merlin, I took a peek at the LifeCycle extensions. I am a bit hesitant to the current design. public interface Creator { void create( Object object, Context context ) throws Exception;

RE: More Release()

2003-12-15 Thread J Aaron Farr
On Tue, 2003-12-16 at 03:16, Day, Jem BGI SF wrote: > My sense is that release() isn't anything directly to do with garbage collection. > > All you're really saying IMHO is "i've finished with this 'thing'", thus allowing > the container/framework to recyle it, destroy it, or nominate it for an

RE: More Release()

2003-12-15 Thread Day, Jem BGI SF
My sense is that release() isn't anything directly to do with garbage collection. All you're really saying IMHO is "i've finished with this 'thing'", thus allowing the container/framework to recyle it, destroy it, or nominate it for an Oscar. ie release() != finalize() -Original Message

More Release()

2003-12-15 Thread Niclas Hedhman
Leo & Leo, you both represent the "theoretical committee", and I would like to have your views on; Spec for release() "Return the Object when you are finished with it. " The recent debate (close to flame war) over release() has brought about a lot of arguments in favour and against the me

cvs commit: avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl DefaultClassLoaderModel.java

2003-12-15 Thread mcconnell
mcconnell2003/12/15 17:34:55 Modified: merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl DefaultClassLoaderModel.java Log: Add check for null manifest. Revision ChangesPath 1.4 +5 -2 avalon/merlin/composition/imp

cvs commit: avalon/merlin platform.xml

2003-12-15 Thread mcconnell
mcconnell2003/12/15 14:46:23 Modified:merlin/activation/impl project.xml merlin/activation/spi project.xml merlin/composition/api project.xml merlin/composition/impl project.xml merlin/composition/spi project.xml

[Apache Avalon Wiki] Updated: LocalSpellingWords

2003-12-15 Thread site-cvs
Date: 2003-12-15T13:53:47 Editor: 66.101.238.135 <> Wiki: Apache Avalon Wiki Page: LocalSpellingWords URL: http://wiki.apache.org/avalon/LocalSpellingWords no comment Change Log: -- @@ -83,3 +83,5 @@ M

[Apache Avalon Wiki] Updated: AvalonFortressFAQ

2003-12-15 Thread site-cvs
Date: 2003-12-15T13:41:35 Editor: 130.89.169.128 <> Wiki: Apache Avalon Wiki Page: AvalonFortressFAQ URL: http://wiki.apache.org/avalon/AvalonFortressFAQ really fix the link Change Log: -- @@ -4,7 +4,7

[Apache Avalon Wiki] Updated: AvalonFortressFAQ

2003-12-15 Thread site-cvs
Date: 2003-12-15T13:41:02 Editor: 130.89.169.128 <> Wiki: Apache Avalon Wiki Page: AvalonFortressFAQ URL: http://wiki.apache.org/avalon/AvalonFortressFAQ fix the link Change Log: -- @@ -4,7 +4,7 @@ =

[Apache Avalon Wiki] Updated: AvalonFortressFAQ

2003-12-15 Thread site-cvs
Date: 2003-12-15T13:39:54 Editor: 130.89.169.128 <> Wiki: Apache Avalon Wiki Page: AvalonFortressFAQ URL: http://wiki.apache.org/avalonAvalonFortressFAQ no comment Change Log: -- @@ -4,7 +4,7 @@ = Ge

[Apache Avalon Wiki] Updated: AvalonFortressFAQ

2003-12-15 Thread site-cvs
Date: 2003-12-15T13:34:11 Editor: 130.89.169.128 <> Wiki: Apache Avalon Wiki Page: AvalonFortressFAQ URL: http://localhost/avalon/AvalonFortressFAQ no comment Change Log: -- @@ -6,11 +6,11 @@ * /Wh

[Apache Avalon Wiki] New: AvalonFortressFAQ/WhatIsFortress

2003-12-15 Thread site-cvs
Date: 2003-12-15T13:26:26 Editor: 130.89.169.128 <> Wiki: Apache Avalon Wiki Page: AvalonFortressFAQ/WhatIsFortress no comment New Page: Fortress is a lightweight embeddable Avalon Container. See: http://avalon.apache.org/fortress/ for more information. --

RE: When use ServiceManager.release(obj)?

2003-12-15 Thread Leo Sutic
Use the finalize() method of the proxy. Alternatively, do this in the component manager: HashMap objectsOutput = new HashMap (); public Object lookup (String role) { Object component = ... however you look it up ... Exception snapshot = new Exception (); objectsOutput

Re: When use ServiceManager.release(obj)?

2003-12-15 Thread Niclas Hedhman
On Monday 15 December 2003 23:44, Leo Sutic wrote: > I agree - you can use the GC to catch user errors: I once did a > stack snapshot (created an Exception) when a component was lookup():ed. > When the component was released, I cleared the snapshot. When the > component > was finalized it would che

Re: When use ServiceManager.release(obj)?

2003-12-15 Thread Niclas Hedhman
On Tuesday 16 December 2003 00:06, Leo Simons wrote: > Leo Sutic wrote: > > I agree - you can use the GC to catch user errors: I once did a > > stack snapshot (created an Exception) when a component was lookup():ed. > > When the component was released, I cleared the snapshot. When the > > component

cvs commit: avalon/merlin/extension/spi/src/java/org/apache/avalon/extension Extension.java

2003-12-15 Thread mcconnell
mcconnell2003/12/15 10:06:34 Modified:merlin/extension/spi project.xml merlin/extension/spi/src/java/org/apache/avalon/extension Extension.java Log: Add check for a null manifest and bump package version. Revision ChangesPath 1.2

Re: When use ServiceManager.release(obj)?

2003-12-15 Thread Leo Simons
Leo Sutic wrote: I agree - you can use the GC to catch user errors: I once did a stack snapshot (created an Exception) when a component was lookup():ed. When the component was released, I cleared the snapshot. When the component was finalized it would check for the Exception - if found, it would sc

DO NOT REPLY [Bug 25482] - [BUG] bug in the Jisp filesystem store clear

2003-12-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: When use ServiceManager.release(obj)?

2003-12-15 Thread Leo Sutic
> From: Niclas Hedhman [mailto:[EMAIL PROTECTED] > > P.S. I did not initiate the discussion of removing release(), > just that Stephen has this fancy "auto reclamation" which I argued > can not be dependent upon, but could help me to find user errors, > and with that came "my own" ReleaseRequ

[Apache Avalon Wiki] New: PicoContainer

2003-12-15 Thread site-cvs
Date: 2003-12-15T06:20:19 Editor: 81.225.9.144 <> Wiki: Apache Avalon Wiki Page: PicoContainer no comment New Page: ''I was expecting a paradigm shift, and all I got was a lousy constructor!'' Pico''Container is very simple container for very simple components. Read more abo

[Apache Avalon Wiki] New: ServiceManagerRelease

2003-12-15 Thread site-cvs
Date: 2003-12-15T06:18:57 Editor: 81.225.9.144 <> Wiki: Apache Avalon Wiki Page: ServiceManagerRelease Made a wiki page of it all. New Page: Few things generate so much controversy as the release() method of the Service''Manager. Let's take a look at a few of the common comme

[Apache Avalon Wiki] Updated: FrontPage

2003-12-15 Thread site-cvs
Date: 2003-12-15T06:07:50 Editor: 81.225.9.144 <> Wiki: Apache Avalon Wiki Page: FrontPage Added a link to the summary of discussions regarding the release() method. Change Log: -- @@ -43,6 +43,7 @@ *

Re: When use ServiceManager.release(obj)?

2003-12-15 Thread Niclas Hedhman
On Monday 15 December 2003 18:38, Leo Sutic wrote: > > From: Niclas Hedhman [mailto:[EMAIL PROTECTED] > > > > Back to the bottom-line; What about > > ServiceManager.release()?? Should it be > > deprecated? > > IMHO, > > 1. Deprecated, or > > 2. Enforced, or "soft enforced" (i.e. reported as a probl

Re: Interesting Anti Pattern...

2003-12-15 Thread Leo Simons
Niclas Hedhman wrote: http://www.keelframework.org/mission.shtml"; > Anti-Pattern: Documentation Problems The best feature of open source is also its downfall - wildly varied forms of documentation, with its most important form also being its most problematical - mail lists. Funny thing is, most

RE: When use ServiceManager.release(obj)?

2003-12-15 Thread Leo Sutic
> From: Niclas Hedhman [mailto:[EMAIL PROTECTED] > > Back to the bottom-line; What about > ServiceManager.release()?? Should it be > deprecated? > IMHO, > 1. Deprecated, or > 2. Enforced, or "soft enforced" (i.e. reported as a problem). > > I don't really care which one, but having a weak c