This is somethings I've wanted to do (dynamically change the interceptor
stack), I'm not at a development machine so have not checked the
plausibility of the following but would like input:

Is it possible to create a custom ActionInvocation object, for this purpose?
Is it possible to essentially recreate the functionality of
ActionInvocation within an interceptor which then delegates to other
interceptors?


On Wed, Jul 2, 2014 at 9:09 AM, Lukasz Lenart <lukaszlen...@apache.org>
wrote:

> 2014-06-27 10:44 GMT+02:00 Gildas de Cadoudal <
> gildas.de.cadou...@gmail.com>:
> > Hi all,
> >
> > I would like to dynamically insert an interceptor to a specific place
> > in existing stack.
> > Of course I also like the stacks referencing the one where I insert
> > the interceptor also take advantage of this configuration change.
> >
> > Practicable to do this? I started to look on the side of
> > PackageProvider, but I can not find sufficiently complete
> > documentation allowing me to do this.
>
> Without large changes it isn't possible to change interceptor stack at
> runtime, it should be only possible to create a new stack with
> PackageProvider
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to