Event properties need to be re-examined. I
noticed that events are not generated if project name contains "."
(dot).
Properties are set in CollaborationResourceHandler.initProjectEvent,
in particular:
this.projectEvent = new
ProjectEvent(project.getName());
but later
CollaborationEvent class, getEvent method
in:
Event returnEvent = new Event(getTopic(),
this.dictionary);
throws exception.
It is org.osgi.service.event.Event that is
created. We should probably format event topic ourselves so that it can be
managed by OSGI.
Pawel
From:
corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Everitt, Glenn
Sent: Thursday, August 03, 2006
11:35 PM
To: Corona development
Subject: [corona-dev]
CollaborationaEvent Member joined project
How would I create a CollaborationEvent that indicated that
a member joined a ProjectContainer?
CollaborationEvent.CONTEXT_TYPE – what should this be?
Project?
CollaborationEvent.CONTEXT_NAME –
ProjectContainerUri
CollaborationEvent.RESOURCE_CONTAINER_URI =
ProjectContainerUri
CollaborationEvent .COLLABORATION_ID = ?
CollaborationEvent .ACTION_TYPE = “MemberAdded”
or “MemberAddedToTeamRepository”
Glenn Everitt
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose it
to anyone else. If you received it in error please notify us immediately and
then destroy it.
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.