Package org.jumpmind.symmetric.web
Class SymmetricEngineHolder
java.lang.Object
org.jumpmind.symmetric.web.SymmetricEngineHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanprotected voidintgetEngineName(Properties properties) intorg.springframework.context.ApplicationContextbooleaninstall(Properties passedInProperties) install(Properties passedInProperties, IDatabaseInstallStatementListener listener) booleanbooleanbooleanbooleanvoidvoidsetAutoCreate(boolean autoCreate) voidsetAutoStart(boolean autoStart) voidsetDeploymentType(String deploymentType) voidsetMultiServerMode(boolean multiServerMode) voidsetSingleServerPropertiesFile(String singleServerPropertiesFile) voidsetSpringContext(org.springframework.context.ApplicationContext applicationContext) voidsetStaticEnginesMode(boolean staticEnginesMode) voidstart()voidstop()voiduninstallEngine(ISymmetricEngine engine) protected voidvalidateEngineFiles(File[] files) validateRequiredProperties(Properties properties)
-
Constructor Details
-
SymmetricEngineHolder
public SymmetricEngineHolder()
-
-
Method Details
-
start
public void start() -
restart
-
stop
public void stop() -
install
- Throws:
Exception
-
install
public ISymmetricEngine install(Properties passedInProperties, IDatabaseInstallStatementListener listener) throws Exception - Throws:
Exception
-
uninstallEngine
-
create
-
validateEngineFiles
-
checkDuplicate
-
getEngineName
-
validateRequiredProperties
-
hasAnyEngineInitialized
public boolean hasAnyEngineInitialized() -
areEnginesStarting
public boolean areEnginesStarting() -
areEnginesConfigured
public boolean areEnginesConfigured() -
areEnginesInError
public boolean areEnginesInError() -
getNumerOfEnginesStarting
public int getNumerOfEnginesStarting() -
getEngines
-
getEngineCount
public int getEngineCount() -
getEnginesStarting
-
getEnginesStartingNames
-
getEnginesFailed
-
getEnginesFailedNames
-
setSpringContext
public void setSpringContext(org.springframework.context.ApplicationContext applicationContext) -
getSpringContext
public org.springframework.context.ApplicationContext getSpringContext() -
setDeploymentType
-
getDeploymentType
-
setMultiServerMode
public void setMultiServerMode(boolean multiServerMode) -
isMultiServerMode
public boolean isMultiServerMode() -
setAutoCreate
public void setAutoCreate(boolean autoCreate) -
isAutoCreate
public boolean isAutoCreate() -
setStaticEnginesMode
public void setStaticEnginesMode(boolean staticEnginesMode) -
isStaticEnginesMode
public boolean isStaticEnginesMode() -
setSingleServerPropertiesFile
-
getSingleServerPropertiesFile
-
setAutoStart
public void setAutoStart(boolean autoStart) -
isAutoStart
public boolean isAutoStart()
-