You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Karl Pietrzak <ka...@gmail.com> on 2015/04/01 14:13:27 UTC

multiple parameter bindings?

Hello there.

I'm wondering if this kind of situation is supposed to work (doesn't seem
like it does):

@ApplicationScopedpublic class SecuredBean1
{
    @CustomSecurityBinding
    public void doSomething(@CurrentThing Thing thing,
@AnotherCurrentThing AnotherThing thing2)
    {
        thing.doSomething();
    }
}


In other words, multiple parameter bindings.  It doesn't seem to work.

Any ideas?  Thanks!

-- 
Karl

Re: multiple parameter bindings?

Posted by "John D. Ament" <jo...@apache.org>.
On Wed, Apr 1, 2015 at 8:15 AM Karl Pietrzak <ka...@gmail.com> wrote:

> Hello there.
>
> I'm wondering if this kind of situation is supposed to work (doesn't seem
> like it does):
>

Can you clarify what you're expecting to happen and what's actually
happening?


>
> @ApplicationScopedpublic class SecuredBean1
> {
>     @CustomSecurityBinding
>     public void doSomething(@CurrentThing Thing thing,
> @AnotherCurrentThing AnotherThing thing2)
>     {
>         thing.doSomething();
>     }
> }
>
>
> In other words, multiple parameter bindings.  It doesn't seem to work.
>
> Any ideas?  Thanks!
>
> --
> Karl
>