org.eclipse.emf.cdo.core.protocol
Class AbstractCDOResProtocol

java.lang.Object
  extended by org.eclipse.net4j.spring.impl.LoggableImpl
      extended by org.eclipse.net4j.spring.impl.ServiceImpl
          extended by org.eclipse.net4j.core.impl.AbstractProtocol
              extended by org.eclipse.emf.cdo.core.protocol.AbstractCDOResProtocol
All Implemented Interfaces:
java.util.EventListener, CDOResProtocol, CDOResSignals, org.eclipse.net4j.core.Protocol, org.eclipse.net4j.spring.Loggable, org.eclipse.net4j.spring.Service, org.eclipse.net4j.spring.StateListener, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener
Direct Known Subclasses:
ClientCDOResProtocolImpl, ServerCDOResProtocolImpl

public abstract class AbstractCDOResProtocol
extends org.eclipse.net4j.core.impl.AbstractProtocol
implements CDOResProtocol


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.spring.impl.ServiceImpl
org.eclipse.net4j.spring.impl.ServiceImpl.ServiceStateMachine
 
Field Summary
 
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
AbstractCDOResProtocol()
           
 
Method Summary
protected static void assertValidChannel(org.eclipse.net4j.core.Channel channel)
           
 java.lang.String getName()
           
 
Methods inherited from class org.eclipse.net4j.core.impl.AbstractProtocol
activate, deactivate, deregisterChannel, getChannels, getProtocolManager, getTypeString, isClient, isServer, registerChannel, setProtocolManager, typeString, validate
 
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
createIndication, deregisterChannel, getChannels, 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
 

Constructor Detail

AbstractCDOResProtocol

public AbstractCDOResProtocol()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.net4j.core.Protocol

assertValidChannel

protected static void assertValidChannel(org.eclipse.net4j.core.Channel channel)

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