|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexgrid.loader.logging.LoggingBean
org.lexgrid.loader.staging.DefaultStagingManager
public class DefaultStagingManager
The Class DefaultStagingManager.
Field Summary |
---|
Fields inherited from interface org.lexgrid.loader.staging.StagingManager |
---|
STAGING_TABLES_PREFIX |
Constructor Summary | |
---|---|
DefaultStagingManager()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected void |
createStagingDatabase(org.springframework.core.io.Resource creationScriptPath)
Creates the staging database. |
void |
dropAllStagingDatabases()
Drop all staging databases. |
void |
dropStagingDatabase(java.lang.String databaseName)
Drop staging database. |
LexEvsDatabaseOperations |
getLexEvsDatabaseOperations()
|
java.lang.String |
getPrefix()
|
java.util.Map<java.lang.String,org.springframework.core.io.Resource> |
getRegisteredStagingDatabases()
Gets the registered staging databases. |
void |
initializeStagingSupport()
Initialize staging support. |
boolean |
isRetry()
Checks if is retry. |
void |
setLexEvsDatabaseOperations(LexEvsDatabaseOperations lexEvsDatabaseOperations)
|
void |
setPrefix(java.lang.String prefix)
|
void |
setRegisteredStagingDatabases(java.util.Map<java.lang.String,org.springframework.core.io.Resource> registeredStagingDatabases)
Sets the registered staging databases. |
void |
setRetry(boolean retry)
Sets the retry. |
Methods inherited from class org.lexgrid.loader.logging.LoggingBean |
---|
getLogger, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultStagingManager()
Method Detail |
---|
public java.util.Map<java.lang.String,org.springframework.core.io.Resource> getRegisteredStagingDatabases()
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void initializeStagingSupport() throws java.lang.Exception
StagingManager
initializeStagingSupport
in interface StagingManager
java.lang.Exception
- the exceptionprotected void createStagingDatabase(org.springframework.core.io.Resource creationScriptPath) throws java.lang.Exception
creationScriptPath
- the creation script path
java.lang.Exception
- the exceptionpublic void dropAllStagingDatabases() throws java.lang.Exception
StagingManager
dropAllStagingDatabases
in interface StagingManager
java.lang.Exception
- the exceptionpublic void dropStagingDatabase(java.lang.String databaseName) throws java.lang.Exception
StagingManager
dropStagingDatabase
in interface StagingManager
databaseName
- the database name
java.lang.Exception
- the exceptionpublic void setRegisteredStagingDatabases(java.util.Map<java.lang.String,org.springframework.core.io.Resource> registeredStagingDatabases)
registeredStagingDatabases
- the registered staging databasespublic LexEvsDatabaseOperations getLexEvsDatabaseOperations()
public void setLexEvsDatabaseOperations(LexEvsDatabaseOperations lexEvsDatabaseOperations)
public boolean isRetry()
public void setRetry(boolean retry)
retry
- the new retrypublic void setPrefix(java.lang.String prefix)
public java.lang.String getPrefix()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |