org.eclipse.emf.cdo.server
Interface ServerCDOResProtocol

All Superinterfaces:
CDOResProtocol, CDOResSignals, org.eclipse.net4j.spring.Loggable, org.eclipse.net4j.core.Protocol, org.eclipse.net4j.spring.Service
All Known Implementing Classes:
ServerCDOResProtocolImpl

public interface ServerCDOResProtocol
extends CDOResProtocol


Nested Class Summary
static interface ServerCDOResProtocol.Listener
          Can be registered with a ServerCDOResProtocol to be subsequently notified about removed resources and invalidated objects.
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.core.CDOResProtocol
NO_MORE_RESOURCES, PROTOCOL_NAME
 
Fields inherited from interface org.eclipse.net4j.core.Protocol
CLIENT, SERVER, SYMMETRIC
 
Fields inherited from interface org.eclipse.emf.cdo.core.CDOResSignals
CREATE_RESOURCE, DELETE_RESOURCES, MOVE_RESOURCE, QUERY_ALL_RESOURCES, QUERY_SUB_RESOURCES, RESOURCES_CHANGED
 
Method Summary
 void addListener(ServerCDOResProtocol.Listener listener)
          Adds a ServerCDOResProtocol.Listener to the list of listeners to be notified about removed resources and invalidated obejcts in the scope of this ServerCDOResProtocol.
 void fireInvalidationNotification(java.util.Collection<java.lang.Long> modifiedOIDs)
           
 void fireRemovalNotification(java.util.Collection<java.lang.Integer> rids)
           
 void fireResourcesChangedNotification(java.util.List<ResourceChangeInfo> resourceChanges)
           
 Mapper getMapper()
           
 org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
           
 void removeListener(ServerCDOResProtocol.Listener listener)
          Removes a ServerCDOResProtocol.Listener from the list of listeners to be notified about removed resources and invalidated obejcts in the scope of this ServerCDOResProtocol.
 
Methods inherited from interface org.eclipse.net4j.core.Protocol
createIndication, deregisterChannel, getChannels, getName, getType, isClient, isServer, registerChannel
 
Methods inherited from interface org.eclipse.net4j.spring.Service
addStateListener, dump, getState, isActive, isAutoStart, isStarted, removeStateListener, start, stop, testSetState
 
Methods inherited from interface org.eclipse.net4j.spring.Loggable
debug, debug, error, error, fatal, fatal, getBeanName, getChild, getContainer, getFullBeanName, getLogger, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, warn, warn
 

Method Detail

getMapper

Mapper getMapper()

getTransactionTemplate

org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()

fireResourcesChangedNotification

void fireResourcesChangedNotification(java.util.List<ResourceChangeInfo> resourceChanges)

fireInvalidationNotification

void fireInvalidationNotification(java.util.Collection<java.lang.Long> modifiedOIDs)

fireRemovalNotification

void fireRemovalNotification(java.util.Collection<java.lang.Integer> rids)

addListener

void addListener(ServerCDOResProtocol.Listener listener)
Adds a ServerCDOResProtocol.Listener to the list of listeners to be notified about removed resources and invalidated obejcts in the scope of this ServerCDOResProtocol.

Parameters:
listener - The ServerCDOResProtocol.Listener to be added.


removeListener

void removeListener(ServerCDOResProtocol.Listener listener)
Removes a ServerCDOResProtocol.Listener from the list of listeners to be notified about removed resources and invalidated obejcts in the scope of this ServerCDOResProtocol.

Parameters:
listener - The ServerCDOResProtocol.Listener to be removed.


Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.