First of all there is a spelling mistake; it should be Tenant not Tenent. You have to have a service component which depends on SynapseEnvironmentService. In the activate method of that SC, you can register the TenantStatisticsInitializer service/
Azeez On Wed, Sep 29, 2010 at 2:51 PM, Heshan Suriyaarachchi <[email protected]>wrote: > Hi, > > I came across an issue while $subject. TenentStatisticsInitializer is an > Axis2ConfigurationContextObserver. In the TenentStatisticsInitializer class; > when we are creating a StatisticsReporterThread, we need to pass a > SynapseEnvironmentService. > > Synapse Environment is also created via an Observer. Therefore this > SynapseEnvironmentService may or may not be available at the time of > creating the StatisticsReporterThread. > > How should we address this? > > -- > Regards, > Heshan Suriyaarachchi > Software Engineer > WSO2 Inc.; http://wso2.com/ > > Blog: http://heshans.blogspot.com/ > > _______________________________________________ > Stratos-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
