|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.net4j.spring.impl.LoggableImpl
org.eclipse.net4j.spring.impl.ServiceImpl
org.eclipse.net4j.core.impl.AbstractProtocol
org.eclipse.emf.cdo.core.protocol.AbstractCDOResProtocol
org.eclipse.emf.cdo.server.protocol.ServerCDOResProtocolImpl
public class ServerCDOResProtocolImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.net4j.spring.impl.ServiceImpl |
---|
org.eclipse.net4j.spring.impl.ServiceImpl.ServiceStateMachine |
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.ServerCDOResProtocol |
---|
ServerCDOResProtocol.Listener |
Field Summary | |
---|---|
protected java.util.List<ServerCDOResProtocol.Listener> |
listeners
|
protected Mapper |
mapper
|
protected org.springframework.transaction.support.TransactionTemplate |
transactionTemplate
|
Fields inherited from class org.eclipse.net4j.spring.impl.ServiceImpl |
---|
AUTOSTART_OFF_BITS, AUTOSTART_OFF_MASK, AUTOSTART_OFF_PAD, AUTOSTART_ON_BITS, AUTOSTART_ON_MASK, AUTOSTART_ON_PAD, flags, SERVICE_BITS, SINGLETON_BITS, SINGLETON_MASK, SINGLETON_PAD, STATE_BITS, STATE_MASK, STATE_PAD, VALIDITY_CONSISTENT, VALIDITY_INCONSISTENT, VALIDITY_INVALID |
Fields inherited from class org.eclipse.net4j.spring.impl.LoggableImpl |
---|
GUARANTEED_LOGGING |
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 |
Constructor Summary | |
---|---|
ServerCDOResProtocolImpl()
|
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 . |
org.eclipse.net4j.core.Indication |
createIndication(short signalId)
|
protected void |
deactivate()
|
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()
|
int |
getType()
|
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 . |
void |
setMapper(Mapper mapper)
|
void |
setTransactionTemplate(org.springframework.transaction.support.TransactionTemplate transactionTemplate)
|
protected void |
validate()
|
Methods inherited from class org.eclipse.emf.cdo.core.protocol.AbstractCDOResProtocol |
---|
assertValidChannel, getName |
Methods inherited from class org.eclipse.net4j.core.impl.AbstractProtocol |
---|
activate, deregisterChannel, getChannels, getProtocolManager, getTypeString, isClient, isServer, registerChannel, setProtocolManager, typeString |
Methods inherited from class org.eclipse.net4j.spring.impl.ServiceImpl |
---|
addStateListener, adjustPrototypeBeanName, afterPropertiesSet, assertActive, assertNotNull, assertNull, assertStopped, destroy, dispose, doSet, doSet, doSet, doSet, doSet, doSet, doSet, doSet, doSet, dump, dump, dump, getPrototypeCounter, getState, isActive, isAutoStart, isSingleton, isStarted, notifyDependencyActivated, notifyDependencyDeactivating, onApplicationEvent, removeStateListener, searchInconsistency, setApplicationContext, setAutoStart, setState, start, stop, testSetState |
Methods inherited from class org.eclipse.net4j.spring.impl.LoggableImpl |
---|
debug, debug, error, error, fatal, fatal, formatLogMessage, getBeanName, getChild, getContainer, getFullBeanName, getLogger, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, setBeanName, toString, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.net4j.core.Protocol |
---|
deregisterChannel, getChannels, getName, 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 |
Field Detail |
---|
protected Mapper mapper
protected org.springframework.transaction.support.TransactionTemplate transactionTemplate
protected transient java.util.List<ServerCDOResProtocol.Listener> listeners
Constructor Detail |
---|
public ServerCDOResProtocolImpl()
Method Detail |
---|
public int getType()
getType
in interface org.eclipse.net4j.core.Protocol
public org.eclipse.net4j.core.Indication createIndication(short signalId)
createIndication
in interface org.eclipse.net4j.core.Protocol
public Mapper getMapper()
getMapper
in interface ServerCDOResProtocol
public void setMapper(Mapper mapper)
public org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
getTransactionTemplate
in interface ServerCDOResProtocol
public void setTransactionTemplate(org.springframework.transaction.support.TransactionTemplate transactionTemplate)
public void fireResourcesChangedNotification(java.util.List<ResourceChangeInfo> resourceChanges)
fireResourcesChangedNotification
in interface ServerCDOResProtocol
public void fireInvalidationNotification(java.util.Collection<java.lang.Long> modifiedOIDs)
fireInvalidationNotification
in interface ServerCDOResProtocol
public void fireRemovalNotification(java.util.Collection<java.lang.Integer> rids)
fireRemovalNotification
in interface ServerCDOResProtocol
public void addListener(ServerCDOResProtocol.Listener listener)
ServerCDOResProtocol
ServerCDOResProtocol.Listener
to the list of listeners to be notified about
removed resources and invalidated obejcts in the scope of this
ServerCDOResProtocol
.
addListener
in interface ServerCDOResProtocol
listener
- The ServerCDOResProtocol.Listener
to be added.public void removeListener(ServerCDOResProtocol.Listener listener)
ServerCDOResProtocol
ServerCDOResProtocol.Listener
from the list of listeners to be notified about
removed resources and invalidated obejcts in the scope of this
ServerCDOResProtocol
.
removeListener
in interface ServerCDOResProtocol
listener
- The ServerCDOResProtocol.Listener
to be removed.protected void validate() throws org.eclipse.net4j.spring.ValidationException
validate
in class org.eclipse.net4j.core.impl.AbstractProtocol
org.eclipse.net4j.spring.ValidationException
protected void deactivate() throws java.lang.Exception
deactivate
in class org.eclipse.net4j.core.impl.AbstractProtocol
java.lang.Exception
|
Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |