Package org.eclipse.emf.cdo.spi.server
Class AppExtension
java.lang.Object
org.eclipse.emf.cdo.spi.server.AbstractAppExtension
org.eclipse.emf.cdo.spi.server.AppExtension
- All Implemented Interfaces:
IAppExtension
,IAppExtension3
,IAppExtension5
,org.eclipse.net4j.util.container.IManagedContainer.ContainerAware
,org.eclipse.net4j.util.container.IManagedContainerProvider
,org.eclipse.net4j.util.ParameterAware
- Direct Known Subclasses:
LMAppExtension
public abstract class AppExtension
extends AbstractAppExtension
implements IAppExtension3, IAppExtension5
- Since:
- 4.10
- Author:
- Eike Stepper
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.spi.server.IAppExtension
EXT_POINT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
getName()
final void
void
start
(IRepository[] repositories, File configFile) protected abstract void
start
(InternalRepository repository, Element repositoryConfig) boolean
final void
stop()
void
stop
(IRepository[] repositories) protected abstract void
stop
(InternalRepository repository) Methods inherited from class org.eclipse.emf.cdo.spi.server.AbstractAppExtension
getAttribute, getContainer, getDocument, getParameters, getRepository, setManagedContainer, setParameters
-
Constructor Details
-
AppExtension
public AppExtension()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceIAppExtension5
-
startBeforeRepositories
public boolean startBeforeRepositories()- Specified by:
startBeforeRepositories
in interfaceIAppExtension5
-
start
- Specified by:
start
in interfaceIAppExtension
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceIAppExtension
- Throws:
Exception
-
start
- Specified by:
start
in interfaceIAppExtension3
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceIAppExtension3
- Throws:
Exception
-
start
protected abstract void start(InternalRepository repository, Element repositoryConfig) throws Exception - Throws:
Exception
-
stop
- Throws:
Exception
-