Package org.exoplatform.caldav.plugin
Interface CalendarWriteChannelPlugin
- All Known Implementing Classes:
BlueMindWriteChannelPlugin
public interface CalendarWriteChannelPlugin
A door, other than CalDAV, through which the copies of a server whose
registration declares a given
WriteChannel are written and removed.
How it is found. CalendarObjectWriters collects every bean
implementing this interface, across web applications: a contributor is a
Spring @Service, never final, living in its own add-on or in
this one. WriteChannel.CALDAV is built in and cannot be claimed; a
contribution naming it is ignored.
What happens without one. A server whose registration declares a
channel nobody contributes is refused, never written over CalDAV
instead: the channel exists precisely because a CalDAV write does something
that server must not be asked to do. The write fails with
CaldavPushService#WRITE_CHANNEL_UNAVAILABLE, which the sync records
as a known state.
-
Method Details
-
channel
org.exoplatform.caldav.model.WriteChannel channel()The channel this door serves.- Returns:
- a channel other than
WriteChannel.CALDAV, never null
-
writer
CalendarObjectWriter writer()The writer every object of a server on this channel goes through.- Returns:
- the writer, never null
-