public class SynchronizeSiteChangeObserver extends AbstractSynchronizeObserver
Observer
for observing site addition in order to synchronize live workspace._liveAccessManager, _repository, _synchronizeComponent
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SynchronizeSiteChangeObserver() |
Modifier and Type | Method and Description |
---|---|
protected void |
_internalObserve(Event event,
Session liveSession)
Observes the event with access to the live workspace.
|
boolean |
supports(Event event)
Checks if the event is supported.
|
getPriority, observe, service
getLogger, setLogger
public SynchronizeSiteChangeObserver()
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.protected void _internalObserve(Event event, Session liveSession) throws RepositoryException
AbstractSynchronizeObserver
_internalObserve
in class AbstractSynchronizeObserver
event
- the event.liveSession
- the session to the live workspace.RepositoryException
- if an error occurs.