Well, As I worked on trying to come up with an extensible Security Service I wanted to provide an example of adapting something new to something old. Especially after seeing all the emails about 2.2 -> 2.3 migration of security services.
So far, I have a SecurityServiceAdapter extending BaseSecurityService that works quite well for adapting calls like TurbineSecurity.getService().getInstance().getACL(user). So, I think we can probably come up with some nice facade classes. I have committed a first cut of the security service repackageing. I then managed to commit half of a hibernate based implementation before CVS started giving me errors, so right now CVS HEAD for fulcrum security is broke. I am working on getting it fixed however. Eric > -----Original Message----- > From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 23, 2003 10:28 PM > To: [EMAIL PROTECTED] > Subject: Re: [FULCRUM] Swap in commons-pool for pool service? > > > "Quinton McCombs" <[EMAIL PROTECTED]> writes: > > >I would say not to create them at all. As people migrate to > the fulcrum > >services that they can obtain an instance of the component > from a container > >and give it back to the container when they are done with it. > > >Granted, you can get away with using the fasade classes in > cases where the > >contain is using a singleton approach for creating instances of the > >component. Otherwise you must either release the component > (losing state) > >after each method call of the fasade class or don't worry > about releasing > >them (memory leaks). > > The static facades are something that work well with the > current Turbine > structure. I'd definitely see them go in an avalon based > Turbine, mainly > because using static accessors simply isn't avalon style. > > Regards > Henning > > -- > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH > [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ > > Java, perl, Solaris, Linux, xSP Consulting, Web Services > freelance consultant -- Jakarta Turbine Development -- hero for hire > > "Dominate!! Dominate!! Eat your young and aggregate! I have > grotty silicon!" > -- AOL CD when played backwards (User Friendly - 200-10-15) > > --------------------------------------------------------------------- > 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]