Class DBCreationProperties
- java.lang.Object
-
- 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
Constructors Constructor Description DBCreationProperties()Constructor DBCreationProperties.DBCreationProperties(String serverUrl, Map<String,String> connProps, String dbScriptPath, String dbUserName, String dbPassword)Constructor DBCreationProperties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getConnProps()Returns connection properties.StringgetDBPassword()Returns new user's password.StringgetDBScriptPath()Returns script path.StringgetDBUserName()Returns return username for new database.StringgetServerUrl()Returns url to db server.voidreadExternal(ObjectInput in)voidwriteExternal(ObjectOutput out)
-
-
-
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.
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-