eXo JCR :: Component :: Extension Service 1.15.1-CP01

org.exoplatform.services.jcr.ext.repository.creation
Class DBCreationProperties

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.repository.creation.DBCreationProperties
All Implemented Interfaces:
Externalizable, Serializable, StorageCreationProperties

public class DBCreationProperties
extends Object
implements StorageCreationProperties

Version:
$Id: DBCreationProperties.java 34360 2009-07-22 23:58:59Z tolusha $
Author:
Anatoliy Bazko
See Also:
Serialized Form

Constructor Summary
DBCreationProperties()
          Constructor DBCreationProperties.
DBCreationProperties(String serverUrl, Map<String,String> connProps, String dbScriptPath, String dbUserName, String dbPassword)
          Constructor DBCreationProperties.
 
Method Summary
 Map<String,String> getConnProps()
          Returns connection properties.
 String getDBPassword()
          Returns new user's password.
 String getDBScriptPath()
          Returns script path.
 String getDBUserName()
          Returns return username for new database.
 String getServerUrl()
          Returns url to db server.
 void readExternal(ObjectInput in)
          
 void writeExternal(ObjectOutput out)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBCreationProperties

public DBCreationProperties(String serverUrl,
                            Map<String,String> connProps,
                            String dbScriptPath,
                            String dbUserName,
                            String dbPassword)
Constructor DBCreationProperties.


DBCreationProperties

public DBCreationProperties()
Constructor DBCreationProperties.

Method Detail

getDBScriptPath

public String getDBScriptPath()
Returns script path.


getDBUserName

public String getDBUserName()
Returns return username for new database.


getDBPassword

public String getDBPassword()
Returns new user's password.


getServerUrl

public String getServerUrl()
Returns url to db server.


getConnProps

public Map<String,String> getConnProps()
Returns connection properties.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException

Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException

Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

eXo JCR :: Component :: Extension Service 1.15.1-CP01

Copyright © 2013 eXo Platform SAS. All Rights Reserved.