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, IAppExtension6, 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, IAppExtension6
- Since:
- 4.10
- Author:
- Eike Stepper
-
Field Summary
Fields inherited from interface IAppExtension
EXT_POINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetName()final voidvoidstart(IRepository[] repositories, File configFile) voidstart(IRepository[] repositories, org.eclipse.net4j.util.XMLConfiguration configuration) Starts a repository-aware extension with repositories and the prepared configuration.protected abstract voidstart(InternalRepository repository, Element repositoryConfig) booleanfinal voidstop()voidstop(IRepository[] repositories) protected abstract voidstop(InternalRepository repository) Methods inherited from class AbstractAppExtension
getAttribute, getContainer, getDocument, getParameters, getRepository, setManagedContainer, setParametersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAppExtension6
start
-
Constructor Details
-
AppExtension
public AppExtension()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceIAppExtension5
-
startBeforeRepositories
public boolean startBeforeRepositories()- Specified by:
startBeforeRepositoriesin interfaceIAppExtension5
-
start
- Specified by:
startin interfaceIAppExtension- Throws:
Exception
-
stop
- Specified by:
stopin interfaceIAppExtension- Throws:
Exception
-
start
- Specified by:
startin interfaceIAppExtension3- Throws:
Exception
-
start
public void start(IRepository[] repositories, org.eclipse.net4j.util.XMLConfiguration configuration) throws Exception Description copied from interface:IAppExtension6Starts a repository-aware extension with repositories and the prepared configuration.- Specified by:
startin interfaceIAppExtension6- Parameters:
repositories- configured repositoriesconfiguration- the immutable prepared configuration snapshot- Throws:
Exception- if startup fails
-
stop
- Specified by:
stopin interfaceIAppExtension3- Throws:
Exception
-
start
protected abstract void start(InternalRepository repository, Element repositoryConfig) throws Exception - Throws:
Exception
-
stop
- Throws:
Exception
-