You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Torsten Curdt <tc...@dff.st> on 2002/08/06 14:41:17 UTC

re-interfaces

I want the ECM to re-initialize a poolable but found no way yet besides 
calling an explicit setup method like we have with transformers in cocoon.
IIUC the re-interfaces are only for suspendable components...

...but isnt't a poolable also some kind of suspendable - sort of :-/

I wish I could use Fortress but currently we are stuck with cocoon's ECM.

*sigh*
--
Torsten

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


Re: re-interfaces

Posted by Torsten Curdt <tc...@dff.st>.
On Tuesday 06 August 2002 15:13, Berin Loritsch wrote:
> > From: Torsten Curdt [mailto:tcurdt@dff.st]
> >
> > > > I wish I could use Fortress but currently we are stuck
> >
> > with cocoon's
> >
> > > > ECM.
> > > >
> > > > *sigh*
> > >
> > > I feel your pain.
> >
> > Do you think it's still too early for moving at least cocoon
> > HEAD over to
> > Fortress? Anyone really using Fortress already?
>
> Many people are using it.  We are currently looking to merge concepts
> with Merlin, so component declarations might change.  It does make the
> startup code *much* simpler.

cool. just let us know...
--
Torsten

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


RE: re-interfaces

Posted by Berin Loritsch <bl...@apache.org>.
> From: Torsten Curdt [mailto:tcurdt@dff.st] 
> 
> > > I wish I could use Fortress but currently we are stuck 
> with cocoon's 
> > > ECM.
> > >
> > > *sigh*
> >
> > I feel your pain.
> 
> Do you think it's still too early for moving at least cocoon 
> HEAD over to 
> Fortress? Anyone really using Fortress already?


Many people are using it.  We are currently looking to merge concepts
with Merlin, so component declarations might change.  It does make the
startup code *much* simpler.


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


Re: re-interfaces

Posted by Torsten Curdt <tc...@dff.st>.
On Tuesday 06 August 2002 14:47, Berin Loritsch wrote:
> > From: Torsten Curdt [mailto:tcurdt@dff.st]
> >
> > I want the ECM to re-initialize a poolable but found no way
> > yet besides
> > calling an explicit setup method like we have with
> > transformers in cocoon. IIUC the re-interfaces are only for
> > suspendable components...
> >
> > ...but isnt't a poolable also some kind of suspendable - sort of :-/
>
> The Re- interfaces really haven't been well thought out.  They are
> a carry over from the original Avalon back when it was hosted at
> http://java.apache.org/avalon.  Unfortunately, there really isn't
> an existing container that uses them.
>
> For Cocoon, the Poolable that you are using also has a Recyclable
> interface.  The Recyclable interface extends the Poolable interface
> so that they are interchangeable.  It has one method:
>
> interface Recyclable extends Poolable
> {
>     void recycle();
> }

doh! ...I totally forgot about that one :-)
thanks for bringing me back on the right track...

> If you extend that method, you can perform your re-initialization/
> cleanup code there.
>
> > I wish I could use Fortress but currently we are stuck with
> > cocoon's ECM.
> >
> > *sigh*
>
> I feel your pain.

Do you think it's still too early for moving at least cocoon HEAD over to 
Fortress? Anyone really using Fortress already?
--
Torsten

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


RE: re-interfaces

Posted by Berin Loritsch <bl...@apache.org>.
> From: Torsten Curdt [mailto:tcurdt@dff.st] 
> 
> I want the ECM to re-initialize a poolable but found no way 
> yet besides 
> calling an explicit setup method like we have with 
> transformers in cocoon. IIUC the re-interfaces are only for 
> suspendable components...
> 
> ...but isnt't a poolable also some kind of suspendable - sort of :-/

The Re- interfaces really haven't been well thought out.  They are
a carry over from the original Avalon back when it was hosted at
http://java.apache.org/avalon.  Unfortunately, there really isn't
an existing container that uses them.

For Cocoon, the Poolable that you are using also has a Recyclable
interface.  The Recyclable interface extends the Poolable interface
so that they are interchangeable.  It has one method:

interface Recyclable extends Poolable
{
    void recycle();
}

If you extend that method, you can perform your re-initialization/
cleanup code there.


> I wish I could use Fortress but currently we are stuck with 
> cocoon's ECM.
> 
> *sigh*

I feel your pain.


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