Well Diego, so properly using IoC - e.g. constructor injection would look like: http://code.google.com/p/google-guice/wiki/Injections (in your case CreditCardProcessor could be SecuritySupport).
The second best option would be using Compontents#getComponent(SecuritySupport.class); Hope that helps Daniel -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=32d53d4c-ba93-4170-90ba-51903b7d257a ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
