IMHO instantiating new objects is default behavior unless mentioned other in the documentation. The fact that there is only one instance means that interceptors must be implemented thread safe. To answer your question: If a interceptor would be instantiated more than once they could be injected using a DI framework and they'd thread safe by default.
On Wed, Jun 24, 2009 at 8:43 AM, Cosmin Marginean<[email protected]> wrote: > Is there a reason why it should be instantiated more than once? :) >> Hello list, >> is there a reason why a stripes interceptor is only instantiated once? >> Thanks, >> Richard >> >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > -- Richard Hauswald Blog: http://tnfstacc.blogspot.com/ LinkedIn: http://www.linkedin.com/in/richardhauswald ------------------------------------------------------------------------------ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
