Would implementing ManagedLifecycle be the option for this?

On Sat, Jul 8, 2017 at 11:20 PM, Rajkumar Rajaratnam <rajkum...@wso2.com>
wrote:

> Hi,
>
> I need to execute a piece of code to read some system variables and
> initialize my connector. I need to do this only once and IMO it's better to
> do this during connector deployment time. I don't want to execute this code
> again and again for every requests.
>
> How do I do this?
>
> Thanks.
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Senior Software Engineer, WSO2
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to