So, if I am stuck currently using ECM, then I need to keep it.  Or, I guess
if I think users of my wrapper are running it in ECM as well..

Any suggestions on what the best way to move forward?  Deprecate the
interface or something?  Release two versions of the wrapper, one with and
one without?

I guess, now that I grok the docs a bit better, that I am now supposed to
use Serviceable and the ServiceManager in all the places I had Composable
and ComponentManager?  I guess my other question is whether to use upgrade
Turbine's AvalonComponentService to use Fortress or Merlin.  The overview
doc (http://avalon.apache.org/containers/index.html) seems to suggest
Fortress, however Merlin has a release out.

Thanks for your help, this IoC buzzword stuff is very interesting.

Eric Pugh



> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 23, 2003 12:31 AM
> To: Avalon framework users
> Subject: Re: Do I need to extend Component in my interfaces? Or in the
> implementing class?
>
>
>
>
> Eric Pugh wrote:
>
> >Hi all,
> >
> >I am looking at the Avalon wrapper for Hibernate (available at
> >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/hibernate/Hibe
> rnateExt/avalon
> >/src/java/net/sf/hibernate/avalon/ ) and there is a bit of
> confusion.  I was
> >always under the impression that to  use a component with
> Avalon, you need
> >to have the interface implement the Component interface.
> >
> >Can you verify this?  I am trying to close a bug in
> Hibernate and want to
> >doublecheck the fix.  And extend my knowledge of Avalon..  I
> have been
> >happily putting Component in all my interfaces everywhere...
>  But maybe I
> >don't have to?
> >
>
> You can safely remove all Component interfaces if you using Fortress,
> Merlin or Phoeinix.  The Component interface was depricated some time
> ago with no replacement.
>
>  From the javadoc for the component interface:
>
> > Deprecated: /Deprecated without replacement. Should only be
> used while
> > migrating away from a system based on
> Composable/ComponentManager. A
> > generic |java.lang.Object| can be used as a replacement. /
> >
>
> Stephen.
>
>
> --
>
> Stephen J. McConnell
> mailto:[EMAIL PROTECTED]
> http://www.osm.net
>
> Sent via James running under Merlin as an NT service.
> http://avalon.apache.org/sandbox/merlin
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to