Class DBSchemaCreator
java.lang.Object
org.exoplatform.services.database.jdbc.DBSchemaCreator
Created by The eXo Platform SAS .
- Version:
- $Id: DBSchemaCreator.java 13053 2007-03-01 06:44:00Z tuan08 $
- Author:
- Gennady Azarenkov
-
Constructor Summary
ConstructorsConstructorDescriptionDBSchemaCreator(org.exoplatform.services.naming.InitialContextInitializer contextInit) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(org.exoplatform.container.component.ComponentPlugin plugin) voidcreateTables(String dsName, String script) static DBSchemaCreatorinitialize(String dsName, String script) org.exoplatform.container.component.ComponentPluginremovePlugin(String name)
-
Constructor Details
-
DBSchemaCreator
public DBSchemaCreator(org.exoplatform.services.naming.InitialContextInitializer contextInit)
-
-
Method Details
-
createTables
- Throws:
NamingExceptionSQLException
-
addPlugin
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin) -
removePlugin
-
getPlugins
-
initialize
public static DBSchemaCreator initialize(String dsName, String script) throws SQLException, NamingException - Throws:
SQLExceptionNamingException
-