Class CDOEmbeddedRepositoryConfig
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.server.embedded.CDOEmbeddedRepositoryConfig
- All Implemented Interfaces:
org.eclipse.net4j.util.container.IManagedContainerProvider
,org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.event.INotifier.INotifier2
,org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
public abstract class CDOEmbeddedRepositoryConfig
extends org.eclipse.net4j.util.lifecycle.Lifecycle
implements org.eclipse.net4j.util.container.IManagedContainerProvider
- Since:
- 4.6
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
activateRepository
(IRepository repository) void
afterFirstStart
(IRepository repository) Subclasses may override.void
afterReStart
(IRepository repository) Subclasses may override.org.eclipse.net4j.acceptor.IAcceptor
createAcceptor
(org.eclipse.net4j.util.container.IManagedContainer container) Subclasses may override.org.eclipse.net4j.connector.IConnector
createConnector
(org.eclipse.net4j.util.container.IManagedContainer container) Subclasses may override.createSessionConfiguration
(org.eclipse.net4j.connector.IConnector connector, CDOBranchManager branchManager, CDORevisionManager revisionManager) Subclasses may override.abstract IStore
createStore
(org.eclipse.net4j.util.container.IManagedContainer container) protected void
protected void
protected void
org.eclipse.net4j.util.container.IManagedContainer
Subclasses may override.final IRepository
final String
void
initPackages
(IRepository repository, List<EPackage> packages) Subclasses may override.abstract void
initProperties
(org.eclipse.net4j.util.container.IManagedContainer container, Map<String, String> properties) boolean
isInitialPackage
(IRepository repository, String nsURI) Subclasses may override.void
modifySession
(IRepository repository, CDONet4jSession session) Subclasses may override.final CDONet4jSession
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Constructor Details
-
CDOEmbeddedRepositoryConfig
-
-
Method Details
-
getRepositoryName
- Since:
- 4.8
-
getRepository
-
openClientSession
-
getContainer
public org.eclipse.net4j.util.container.IManagedContainer getContainer()Subclasses may override.- Specified by:
getContainer
in interfaceorg.eclipse.net4j.util.container.IManagedContainerProvider
-
initPackages
Subclasses may override. -
isInitialPackage
Subclasses may override. -
afterFirstStart
Subclasses may override. -
afterReStart
Subclasses may override. -
modifySession
Subclasses may override. -
createSessionConfiguration
public CDONet4jSessionConfiguration createSessionConfiguration(org.eclipse.net4j.connector.IConnector connector, CDOBranchManager branchManager, CDORevisionManager revisionManager) Subclasses may override. -
createAcceptor
public org.eclipse.net4j.acceptor.IAcceptor createAcceptor(org.eclipse.net4j.util.container.IManagedContainer container) Subclasses may override. -
createConnector
public org.eclipse.net4j.connector.IConnector createConnector(org.eclipse.net4j.util.container.IManagedContainer container) Subclasses may override. -
createStore
-
initProperties
-
activateRepository
-
deactivateRepository
protected void deactivateRepository() -
doActivate
- Overrides:
doActivate
in classorg.eclipse.net4j.util.lifecycle.Lifecycle
- Throws:
Exception
-
doDeactivate
- Overrides:
doDeactivate
in classorg.eclipse.net4j.util.lifecycle.Lifecycle
- Throws:
Exception
-