Leandro Rodrigo Saad Cruz wrote: > I found it : > > compMgr = > (ComponentManager)getMailetContext().getAttribute(Constants.AV > ALON_COMPONENT_MANAGER); > Hmm, if this works it probably should not be allowed!
A Mailet is supposed to be portable across different Mailet implementations, of which James is just one. James currently exists in an Avalon container which currently has a ComponentManager, but none of this is in any way guaranteed to last forever. A Mailet relying on this deployment scenario is not portable. You might want to factor these concerns into your design and arrange to acquire resources with less coupling. -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
