Participants
Amila,
Ratha,
Janaka,
Lalaji,
Shariq,
Chinthana,
Kasun,
Hasini,
we reviewed data publisher mediation states[1]. we reviewed the class [2].
this component is named as
org.wso2.carbon.bam.data.publisher.mediationstats.
but it is natural to say org.wso2.carbon.bam.mediationstats.publisher
So I think it is better to move those components under bam and create
different features for medaitionstata and services stat publishers.
And also please have a look at the
protected void
setMediationStatisticsService(MediationStatisticsService
mediationStatisticsService) {
if (log.isDebugEnabled()) {
log.debug("Mediation statistics service bound to the BAM
mediation statistics component");
}
if (activated && mediationStatisticsService != null) {
MediationStatisticsStore mediationStatisticsStore =
mediationStatisticsService.getStatisticsStore();
if (mediationStatisticsStore != null) {
BAMMediationStatisticsObserver observer = new
BAMMediationStatisticsObserver();
mediationStatisticsStore.registerObserver(observer);
observer.setTenantId(mediationStatisticsService.getTenantId());
observer.setTenantAxisConfiguration(
mediationStatisticsService.getConfigurationContext().getAxisConfiguration());
log.info("Registering BamMediationStatistics Observer
for tenant: " +
mediationStatisticsService.getTenantId());
}
} else {
this.mediationStatisticsService = mediationStatisticsService;
}
}
is it possible to call a declarative service before activating the
declared component and can we have tanent aware OSGI services?
mediationStatisticsService.getTenantId()
thanks,
Amila.
[1] https://wso2.org/crucible/cru/COMPONENT-39
[2]
https://svn.wso2.org/repos/wso2/trunk/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.mediationstats/src/main/java/org/wso2/carbon/bam/data/publisher/mediationstats/internal/MediationStatisticsComponent.java
On Wed, Feb 9, 2011 at 5:49 PM, Vijayaratha Vijayasingam <[email protected]>wrote:
> This event has been changed.
> more details
> »<https://www.google.com/calendar/event?action=VIEW&eid=c2JwdDFsajZzbzBucm5wODZkMGlqOHRwZmMgYW1pbGFAd3NvMi5jb20&tok=MTUjcmF0aGF2QHdzbzIuY29tNTZjOTBhZTM3YzczMGZhNzQzNmIxNTBhNzRjNjVhNGViMmE4MDZlYw&ctz=Asia%2FColombo&hl=en>
> Group:D-Code review: BAM Data Publisher
> *When*
> *Changed: *Fri Feb 11 10am – 11am Colombo
> *Where*
> #59, 3rd floor (map <http://maps.google.com/maps?q=%2359,+3rd+floor&hl=en>
> )
> *Calendar*
> [email protected]
> *Who*
> •
> [email protected] - organizer
> •
> Lalaji Sureshika
> •
> Nirodha Gallage
> •
> [email protected]
> •
> Shariq Muhammed
> •
> Yumani Ranaweera
> •
> Prabath Siriwardana
> •
> Pradeep Fernando
> •
> Danushka Manikkumbura
> •
> Rohitha Fernando
> •
> Kasun Indrasiri
> •
> Amila Suriarachchi
> •
> Anjana Fernando
> •
> Chintana Wilamuna
> •
> Janaka Ranabahu
>
> Going?
> *Yes<https://www.google.com/calendar/event?action=RESPOND&eid=c2JwdDFsajZzbzBucm5wODZkMGlqOHRwZmMgYW1pbGFAd3NvMi5jb20&rst=1&tok=MTUjcmF0aGF2QHdzbzIuY29tNTZjOTBhZTM3YzczMGZhNzQzNmIxNTBhNzRjNjVhNGViMmE4MDZlYw&ctz=Asia%2FColombo&hl=en>-
> Maybe<https://www.google.com/calendar/event?action=RESPOND&eid=c2JwdDFsajZzbzBucm5wODZkMGlqOHRwZmMgYW1pbGFAd3NvMi5jb20&rst=3&tok=MTUjcmF0aGF2QHdzbzIuY29tNTZjOTBhZTM3YzczMGZhNzQzNmIxNTBhNzRjNjVhNGViMmE4MDZlYw&ctz=Asia%2FColombo&hl=en>-
> No<https://www.google.com/calendar/event?action=RESPOND&eid=c2JwdDFsajZzbzBucm5wODZkMGlqOHRwZmMgYW1pbGFAd3NvMi5jb20&rst=2&tok=MTUjcmF0aGF2QHdzbzIuY29tNTZjOTBhZTM3YzczMGZhNzQzNmIxNTBhNzRjNjVhNGViMmE4MDZlYw&ctz=Asia%2FColombo&hl=en>
> * more options
> »<https://www.google.com/calendar/event?action=VIEW&eid=c2JwdDFsajZzbzBucm5wODZkMGlqOHRwZmMgYW1pbGFAd3NvMi5jb20&tok=MTUjcmF0aGF2QHdzbzIuY29tNTZjOTBhZTM3YzczMGZhNzQzNmIxNTBhNzRjNjVhNGViMmE4MDZlYw&ctz=Asia%2FColombo&hl=en>
>
> Invitation from Google Calendar <https://www.google.com/calendar/>
>
> You are receiving this email at the account [email protected] because you are
> subscribed for updated invitations on calendar [email protected].
>
> To stop receiving these notifications, please log in to
> https://www.google.com/calendar/ and change your notification settings for
> this calendar.
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev