Hi Supun,

We were registering APIManagerInterceptorValve, inside
APIManagerInterceptorComponent.java and it is getting invoked when
activating org.wso2.carbon.apimgt.interceptor bundle. So I am not sure how
does many instances of the valve are getting registered.

Reason for registering it in code level is, we need the valve to be
registered only if api management is enabled.

Thanks,
Lakmali


On 4 July 2014 19:45, Supun Malinga <[email protected]> wrote:

> HI,
>
> Found out $subject.
> Also what's the reason for it's being registered in code level ?.. We can
> register the valves via catalina-server.xml.
>
> thanks,
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: [email protected] <[email protected]>
> mobile: +94 (0)71 56 91 321
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to