Package org.eclipse.emf.cdo.lm.server

# Klasse AbstractLifecycleManager

java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.lm.server.AbstractLifecycleManager

Alle implementierten Schnittstellen:
  `LMPackage.Literals`, `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`

Bekannte direkte Unterklassen:
  `XMLLifecycleManager`

public abstract class AbstractLifecycleManager extends org.eclipse.net4j.util.lifecycle.Lifecycle implements LMPackage.Literals

Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static interface`
`AbstractLifecycleManager.BaselineBranchPointProvider`
`static class`
`AbstractLifecycleManager.Factory`
`final class`
`AbstractLifecycleManager.ModuleCommitEvent`
`static final class`
`AbstractLifecycleManager.ModuleInfo`
`final class`
`AbstractLifecycleManager.NewBaselineEvent`
`final class`
`AbstractLifecycleManager.SystemCommitEvent`
`static interface`
`AbstractLifecycleManager.SystemCommitHandler`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle

`org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

`org.eclipse.net4j.util.event.INotifier.INotifier2`

## Feldübersicht

### Von Klasse geerbte Felder org.eclipse.net4j.util.lifecycle.Lifecycle

`USE_LABEL`

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.lm.LMPackage.Literals

`BASE_POINT, BASELINE, BASELINE___GET_BASE_TIME_STAMP, BASELINE___GET_BRANCH_POINT, BASELINE___GET_NAME, BASELINE__FLOATING, BASELINE__STREAM, CHANGE, CHANGE__BASE, CHANGE__BRANCH, CHANGE__DELIVERIES, CHANGE__IMPACT, CHANGE__LABEL, DELIVERY, DELIVERY__CHANGE, DELIVERY__MERGE_SOURCE, DELIVERY__MERGE_TARGET, DEPENDENCY, DEPENDENCY__TARGET, DEPENDENCY__VERSION_RANGE, DROP, DROP___GET_BASED_STREAMS, DROP___IS_RELEASE, DROP__BRANCH_POINT, DROP__LABEL, DROP__TYPE, DROP_TYPE, DROP_TYPE__NAME, DROP_TYPE__PROCESS, DROP_TYPE__RELEASE, FIXED_BASELINE, FIXED_BASELINE___GET_BASED_CHANGES, FIXED_BASELINE__DEPENDENCIES, FIXED_BASELINE__VERSION, FLOATING_BASELINE, FLOATING_BASELINE___GET_BASE, FLOATING_BASELINE___GET_BRANCH, FLOATING_BASELINE___GET_DELIVERIES, FLOATING_BASELINE__CLOSED, IMPACT, MODULE, MODULE__NAME, MODULE__STREAMS, MODULE__SYSTEM, MODULE__TYPE, MODULE_ELEMENT, MODULE_ELEMENT___GET_MODULE, MODULE_TYPE, MODULE_TYPE__NAME, MODULE_TYPE__PROCESS, PROCESS, PROCESS__DROP_TYPES, PROCESS__INITIAL_MODULE_VERSION, PROCESS__MODULE_DEFINITION_PATH, PROCESS__MODULE_TYPES, PROCESS__SYSTEM, PROCESS_ELEMENT, PROCESS_ELEMENT___GET_PROCESS, STREAM, STREAM___GET_BASED_CHANGES, STREAM___GET_BRANCH_POINT__LONG, STREAM___GET_FIRST_RELEASE, STREAM___GET_LAST_RELEASE, STREAM___GET_RELEASES, STREAM___INSERT_CONTENT__BASELINE, STREAM__ALLOWED_CHANGES, STREAM__BASE, STREAM__CODE_NAME, STREAM__CONTENTS, STREAM__DEVELOPMENT_BRANCH, STREAM__MAINTENANCE_BRANCH, STREAM__MAINTENANCE_TIME_STAMP, STREAM__MAJOR_VERSION, STREAM__MINOR_VERSION, STREAM__MODE, STREAM__MODULE, STREAM__START_TIME_STAMP, STREAM_ELEMENT, STREAM_ELEMENT___GET_STREAM, STREAM_MODE, SYSTEM, SYSTEM___GET_MODULE__STRING, SYSTEM__MODULES, SYSTEM__NAME, SYSTEM__PROCESS, SYSTEM_ELEMENT, SYSTEM_ELEMENT___GET_SYSTEM`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`AbstractLifecycleManager()`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected void`
`addFingerPrint(IStoreAccessor.CommitContext commitContext, InternalCDORevision fixedBaseline)`
`protected void`
`addModule(String moduleName)`
Veraltet.
As of 1.2 use `addModule(String, String)`.
`protected void`
`addModule(String moduleName, String moduleTypeName)`
`void`
`addSystemCommitHandler(AbstractLifecycleManager.SystemCommitHandler handler)`
`protected abstract InternalRepository`
`createModuleRepository(String moduleName)`
`protected void`
`createNewModule(String moduleName)`
Veraltet.
As of 1.2 use `createNewModule(String, String)`.
`protected void`
`createNewModule(String moduleName, String moduleTypeName)`
`protected void`
`createNewModuleInfos(IStoreAccessor.CommitContext commitContext, List<AbstractLifecycleManager.ModuleInfo> newModules)`
`protected void`
`createNewModules(IStoreAccessor.CommitContext commitContext, List<org.eclipse.net4j.util.collection.Pair<String,CDOID>> newModules)`
Veraltet.
As of 1.2 use `createNewModuleInfos(CommitContext, List)`.
`protected CDONet4jSessionConfiguration`
`createSessionConfiguration(String repositoryName)`
`protected void`
`doActivate()`
`protected void`
`doBeforeActivate()`
`protected void`
`doDeactivate()`
`static CDOBranchRef`
`getBranch(CDORevision floatingBaseline)`
Veraltet.
As of 1.4 not used anymore.
`final org.eclipse.net4j.jvm.IJVMConnector`
`getConnector()`
`org.eclipse.net4j.util.container.IManagedContainer`
`getContainer()`
`org.eclipse.net4j.util.security.IPasswordCredentials`
`getCredentials()`
`CDOFingerPrinter`
`getFingerPrinter()`
`protected Map<String,Boolean>`
`getInitialDropTypes()`
`protected List<String>`
`getInitialModuleTypes()`
`String`
`getModuleDefinitionPath()`
`final Map<String,InternalRepository>`
`getModuleRepositories()`
`final CDOSession`
`getModuleSession(String moduleName)`
`final CDOSession`
`getModuleSession(Module module)`
`Consumer<Process>`
`getProcessInitializer()`
`final System`
`getSystem()`
`String`
`getSystemName()`
`InternalRepository`
`getSystemRepository()`
`protected void`
`handleBaselineAddition(IStoreAccessor.CommitContext commitContext, InternalCDORevision addedContent)`
`protected void`
`handleBaselineDeletion(IStoreAccessor.CommitContext commitContext, CDORevisionDelta revisionDelta, CDORemoveFeatureDelta removeFeatureDelta)`
`protected void`
`handleCommit(IStoreAccessor.CommitContext commitContext)`
`protected void`
`handleModuleAddition(InternalCDORevision addedModule, Consumer<AbstractLifecycleManager.ModuleInfo> newModulesInfoConsumer)`
`protected void`
`handleModuleAddition(InternalCDORevision addedModule, List<org.eclipse.net4j.util.collection.Pair<String,CDOID>> newModules)`
Veraltet.
As of 1.2 use `handleModuleAddition(InternalCDORevision, Consumer)`.
`protected void`
`handleModuleDeletion(IStoreAccessor.CommitContext commitContext, InternalCDORevisionDelta systemRevisionDelta, CDORemoveFeatureDelta removeModuleDelta)`
`protected void`
`initProcess(Process process)`
`protected List<String>`
`initSystemRepository(CDOSession session)`
Veraltet.
As of 1.2 use `initSystemRepository(CDOSession, BiConsumer)`.
`protected void`
`initSystemRepository(CDOSession session, BiConsumer<String,String> moduleInfoComsumer)`
`boolean`
`isAutoFingerPrinting()`
`boolean`
`isCredentialsBasedLogin()`
`protected boolean`
`isValidModuleName(String moduleName)`
`static AbstractLifecycleManager`
`of(org.eclipse.net4j.util.container.IManagedContainer container, String systemName)`
`static AbstractLifecycleManager`
`of(org.eclipse.net4j.util.container.IManagedContainer container, IRepository repository)`
`protected CDONet4jSession`
`openModuleSession(InternalRepository moduleRepository)`
`void`
`removeSystemCommitHandler(AbstractLifecycleManager.SystemCommitHandler handler)`
`void`
`setAutoFingerPrinting(boolean autoFingerPrinting)`
`void`
`setCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials)`
`void`
`setCredentialsBasedLogin(boolean credentialsBasedLogin)`
`void`
`setFingerPrinter(CDOFingerPrinter fingerPrinter)`
`void`
`setModuleDefinitionPath(String moduleDefinitionPath)`
`void`
`setProcessInitializer(Consumer<Process> processInitializer)`
`void`
`setSystemName(String systemName)`
`void`
`setSystemRepository(InternalRepository repository)`
`String`
`toString()`

### Von Klasse geerbte Methoden org.eclipse.net4j.util.lifecycle.Lifecycle

`activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation`

### Von Klasse geerbte Methoden org.eclipse.net4j.util.event.Notifier

`addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier

`addListener, getListeners, hasListeners, removeListener`

## Konstruktordetails

### AbstractLifecycleManager

public AbstractLifecycleManager()

## Methodendetails

### getContainer

public org.eclipse.net4j.util.container.IManagedContainer getContainer()

### getConnector

public final org.eclipse.net4j.jvm.IJVMConnector getConnector()

### getSystem

public final System getSystem()

Seit:
  1.4

### getSystemRepository

public InternalRepository getSystemRepository()

### setSystemRepository

public void setSystemRepository(InternalRepository repository)

### getSystemName

public String getSystemName()

### setSystemName

public void setSystemName(String systemName)

### getProcessInitializer

public Consumer<Process> getProcessInitializer()

### setProcessInitializer

public void setProcessInitializer(Consumer<Process> processInitializer)

### getFingerPrinter

public CDOFingerPrinter getFingerPrinter()

Seit:
  1.7

### setFingerPrinter

public void setFingerPrinter(CDOFingerPrinter fingerPrinter)

Seit:
  1.7

### isAutoFingerPrinting

public boolean isAutoFingerPrinting()

Seit:
  1.7

### setAutoFingerPrinting

public void setAutoFingerPrinting(boolean autoFingerPrinting)

Seit:
  1.7

### isCredentialsBasedLogin

public boolean isCredentialsBasedLogin()

Seit:
  1.6

### setCredentialsBasedLogin

public void setCredentialsBasedLogin(boolean credentialsBasedLogin)

Seit:
  1.6

### getCredentials

public org.eclipse.net4j.util.security.IPasswordCredentials getCredentials()

Seit:
  1.3

### setCredentials

public void setCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials)

Seit:
  1.3

### getModuleDefinitionPath

public String getModuleDefinitionPath()

### setModuleDefinitionPath

public void setModuleDefinitionPath(String moduleDefinitionPath)

### getModuleRepositories

public final Map<String,InternalRepository> getModuleRepositories()

### getModuleSession

public final CDOSession getModuleSession(Module module)

Seit:
  1.7

### getModuleSession

public final CDOSession getModuleSession(String moduleName)

### addSystemCommitHandler

public void addSystemCommitHandler(AbstractLifecycleManager.SystemCommitHandler handler)

Seit:
  1.5

### removeSystemCommitHandler

public void removeSystemCommitHandler(AbstractLifecycleManager.SystemCommitHandler handler)

Seit:
  1.5

### toString

public String toString()

Setzt außer Kraft:
  `toString` in Klasse `org.eclipse.net4j.util.lifecycle.Lifecycle`

### doBeforeActivate

protected void doBeforeActivate() throws Exception

Setzt außer Kraft:
  `doBeforeActivate` in Klasse `org.eclipse.net4j.util.lifecycle.Lifecycle`
Löst aus:
  `Exception`

### doActivate

protected void doActivate() throws Exception

Setzt außer Kraft:
  `doActivate` in Klasse `org.eclipse.net4j.util.lifecycle.Lifecycle`
Löst aus:
  `Exception`

### doDeactivate

protected void doDeactivate() throws Exception

Setzt außer Kraft:
  `doDeactivate` in Klasse `org.eclipse.net4j.util.lifecycle.Lifecycle`
Löst aus:
  `Exception`

### initSystemRepository

protected void initSystemRepository(CDOSession session, BiConsumer<String,String> moduleInfoComsumer) throws Exception

Löst aus:
  `Exception`
Seit:
  1.2

### initProcess

protected void initProcess(Process process)

### getInitialModuleTypes

protected List<String> getInitialModuleTypes()

Seit:
  1.2

### getInitialDropTypes

protected Map<String,Boolean> getInitialDropTypes()

Seit:
  1.2

### handleCommit

protected void handleCommit(IStoreAccessor.CommitContext commitContext)

### handleModuleAddition

protected void handleModuleAddition(InternalCDORevision addedModule, Consumer<AbstractLifecycleManager.ModuleInfo> newModulesInfoConsumer)

Seit:
  1.2

### handleModuleDeletion

protected void handleModuleDeletion(IStoreAccessor.CommitContext commitContext, InternalCDORevisionDelta systemRevisionDelta, CDORemoveFeatureDelta removeModuleDelta)

### handleBaselineAddition

protected void handleBaselineAddition(IStoreAccessor.CommitContext commitContext, InternalCDORevision addedContent)

### addFingerPrint

protected void addFingerPrint(IStoreAccessor.CommitContext commitContext, InternalCDORevision fixedBaseline)

Seit:
  1.7

### handleBaselineDeletion

protected void handleBaselineDeletion(IStoreAccessor.CommitContext commitContext, CDORevisionDelta revisionDelta, CDORemoveFeatureDelta removeFeatureDelta)

Seit:
  1.1

### createNewModuleInfos

protected void createNewModuleInfos(IStoreAccessor.CommitContext commitContext, List<AbstractLifecycleManager.ModuleInfo> newModules)

Seit:
  1.2

### createNewModule

protected void createNewModule(String moduleName, String moduleTypeName) throws Exception

Löst aus:
  `Exception`
Seit:
  1.2

### isValidModuleName

protected boolean isValidModuleName(String moduleName)

### addModule

protected void addModule(String moduleName, String moduleTypeName) throws Exception

Löst aus:
  `Exception`
Seit:
  1.2

### createModuleRepository

protected abstract InternalRepository createModuleRepository(String moduleName) throws CoreException

Löst aus:
  `CoreException`

### openModuleSession

protected CDONet4jSession openModuleSession(InternalRepository moduleRepository)

### createSessionConfiguration

protected CDONet4jSessionConfiguration createSessionConfiguration(String repositoryName)

### of

public static AbstractLifecycleManager of(org.eclipse.net4j.util.container.IManagedContainer container, String systemName)

Seit:
  1.4

### of

public static AbstractLifecycleManager of(org.eclipse.net4j.util.container.IManagedContainer container, IRepository repository)

Seit:
  1.4

### initSystemRepository

@Deprecated protected List<String> initSystemRepository(CDOSession session) throws Exception
Veraltet.
As of 1.2 use `initSystemRepository(CDOSession, BiConsumer)`.

Löst aus:
  `Exception`

### handleModuleAddition

@Deprecated protected void handleModuleAddition(InternalCDORevision addedModule, List<org.eclipse.net4j.util.collection.Pair<String,CDOID>> newModules)
Veraltet.
As of 1.2 use `handleModuleAddition(InternalCDORevision, Consumer)`.

### createNewModules

@Deprecated protected void createNewModules(IStoreAccessor.CommitContext commitContext, List<org.eclipse.net4j.util.collection.Pair<String,CDOID>> newModules)
Veraltet.
As of 1.2 use `createNewModuleInfos(CommitContext, List)`.

### createNewModule

@Deprecated protected void createNewModule(String moduleName) throws Exception
Veraltet.
As of 1.2 use `createNewModule(String, String)`.

Löst aus:
  `Exception`

### addModule

@Deprecated protected void addModule(String moduleName) throws Exception
Veraltet.
As of 1.2 use `addModule(String, String)`.

Löst aus:
  `Exception`

### getBranch

@Deprecated public static CDOBranchRef getBranch(CDORevision floatingBaseline)
Veraltet.
As of 1.4 not used anymore. Doesn't work with DeliveryReviews.