Package org.eclipse.emf.cdo.spi.server
Class AppExtension
- java.lang.Object
-
- org.eclipse.emf.cdo.spi.server.AppExtension
-
- All Implemented Interfaces:
IAppExtension,IAppExtension3
public abstract class AppExtension extends java.lang.Object implements IAppExtension3
- Since:
- 4.10
- Author:
- Eike Stepper
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emf.cdo.spi.server.IAppExtension
EXT_POINT
-
-
Constructor Summary
Constructors Constructor Description AppExtension()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.DocumentgetDocument(java.io.File configFile)abstract java.lang.StringgetName()voidstart(java.io.File configFile)voidstart(IRepository[] repositories, java.io.File configFile)protected abstract voidstart(InternalRepository repository, org.w3c.dom.Element repositoryConfig)voidstop()voidstop(IRepository[] repositories)protected abstract voidstop(InternalRepository repository)
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
-
start
public final void start(java.io.File configFile) throws java.lang.Exception- Specified by:
startin interfaceIAppExtension- Throws:
java.lang.Exception
-
stop
public final void stop() throws java.lang.Exception- Specified by:
stopin interfaceIAppExtension- Throws:
java.lang.Exception
-
start
public void start(IRepository[] repositories, java.io.File configFile) throws java.lang.Exception
- Specified by:
startin interfaceIAppExtension3- Throws:
java.lang.Exception
-
stop
public void stop(IRepository[] repositories) throws java.lang.Exception
- Specified by:
stopin interfaceIAppExtension3- Throws:
java.lang.Exception
-
start
protected abstract void start(InternalRepository repository, org.w3c.dom.Element repositoryConfig) throws java.lang.Exception
- Throws:
java.lang.Exception
-
stop
protected abstract void stop(InternalRepository repository) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDocument
protected org.w3c.dom.Document getDocument(java.io.File configFile) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOException
-
-