|
|||||||||
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.setup.JobRepositoryManager
public class JobRepositoryManager
The Class JobRepositoryManager.
Field Summary | |
---|---|
protected java.lang.String[] |
tables
The tables. |
Constructor Summary | |
---|---|
JobRepositoryManager()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
protected boolean |
doJobRepositoryTablesExist()
Insert prefix variable. |
void |
dropJobRepositoryDatabases()
Drop job repository databases. |
void |
dropJobRepositoryDatabasesOnClose()
|
org.springframework.core.io.Resource |
getCreateScript()
Gets the creates the script. |
DatabaseType |
getDatabaseType()
|
org.springframework.core.io.Resource |
getDropScript()
Gets the drop script. |
LexEvsDatabaseOperations |
getLexEvsDatabaseOperations()
|
java.lang.String |
getPrefix()
|
protected java.lang.String |
insertPrefixVariable(java.lang.String script)
Insert prefix variable. |
boolean |
isDropOnClose()
|
void |
setCreateScript(org.springframework.core.io.Resource createScript)
Sets the creates the script. |
void |
setDatabaseType(DatabaseType databaseType)
|
void |
setDropOnClose(boolean dropOnClose)
|
void |
setDropScript(org.springframework.core.io.Resource dropScript)
Sets the drop script. |
void |
setLexEvsDatabaseOperations(LexEvsDatabaseOperations lexEvsDatabaseOperations)
|
void |
setPrefix(java.lang.String prefix)
|
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 |
Field Detail |
---|
protected java.lang.String[] tables
Constructor Detail |
---|
public JobRepositoryManager()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
protected java.lang.String insertPrefixVariable(java.lang.String script)
script
- the script
protected boolean doJobRepositoryTablesExist()
script
- the script
public void dropJobRepositoryDatabases() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void dropJobRepositoryDatabasesOnClose() throws java.lang.Exception
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception
public org.springframework.core.io.Resource getCreateScript()
public void setCreateScript(org.springframework.core.io.Resource createScript)
createScript
- the new creates the scriptpublic org.springframework.core.io.Resource getDropScript()
public void setDropScript(org.springframework.core.io.Resource dropScript)
dropScript
- the new drop scriptpublic boolean isDropOnClose()
public void setDropOnClose(boolean dropOnClose)
public DatabaseType getDatabaseType()
public void setDatabaseType(DatabaseType databaseType)
public LexEvsDatabaseOperations getLexEvsDatabaseOperations()
public void setLexEvsDatabaseOperations(LexEvsDatabaseOperations lexEvsDatabaseOperations)
public 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 |