com.silverpeas.wysiwyg.dynamicvalue.pool
Class ConnectionPoolInformation

java.lang.Object
  extended by com.silverpeas.wysiwyg.dynamicvalue.pool.ConnectionPoolInformation
All Implemented Interfaces:
Serializable

public class ConnectionPoolInformation
extends Object
implements Serializable

class which contains the connection information to access database

See Also:
Serialized Form

Constructor Summary
ConnectionPoolInformation()
          default constructor
 
Method Summary
 String getConnectionType()
           
 String getDescription()
           
 String getDriver()
           
 String getJndiName()
           
 int getMaxActive()
           
 int getMaxIdle()
           
 int getMaxWait()
           
 int getMinEvictableIdleTimeMillis()
           
 int getNumTestsPerEvictionRun()
           
 String getPassword()
           
 int getTimeBetweenEvictionRunsMillis()
           
 String getUrl()
           
 String getUser()
           
 void setConnectionType(String connectionType)
           
 void setDescription(String description)
           
 void setDriver(String driver)
           
 void setJndiName(String jndiName)
           
 void setMaxActive(int maxActive)
           
 void setMaxIdle(int maxIdle)
           
 void setMaxWait(int maxWait)
           
 void setMinEvictableIdleTimeMillis(int minEvictableIdleTimeMillis)
           
 void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)
           
 void setPassword(String password)
           
 void setTimeBetweenEvictionRunsMillis(int timeBetweenEvictionRunsMillis)
           
 void setUrl(String url)
           
 void setUser(String user)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionPoolInformation

public ConnectionPoolInformation()
default constructor

Method Detail

getDescription

public String getDescription()
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

getPassword

public String getPassword()
Returns:
the password

setPassword

public void setPassword(String password)
Parameters:
password - the password to set

getUrl

public String getUrl()
Returns:
the url

setUrl

public void setUrl(String url)
Parameters:
url - the url to set

getUser

public String getUser()
Returns:
the user

setUser

public void setUser(String user)
Parameters:
user - the user to set

getDriver

public String getDriver()
Returns:
the driver

setDriver

public void setDriver(String driver)
Parameters:
driver - the driver to set

getMaxActive

public int getMaxActive()
Returns:
the maxActive

setMaxActive

public void setMaxActive(int maxActive)
Parameters:
maxActive - the maxActive to set

getMaxIdle

public int getMaxIdle()
Returns:
the maxIdle

setMaxIdle

public void setMaxIdle(int maxIdle)
Parameters:
maxIdle - the maxIdle to set

getTimeBetweenEvictionRunsMillis

public int getTimeBetweenEvictionRunsMillis()
Returns:
the timeBetweenEvictionRunsMillis

setTimeBetweenEvictionRunsMillis

public void setTimeBetweenEvictionRunsMillis(int timeBetweenEvictionRunsMillis)
Parameters:
timeBetweenEvictionRunsMillis - the timeBetweenEvictionRunsMillis to set

getNumTestsPerEvictionRun

public int getNumTestsPerEvictionRun()
Returns:
the numTestsPerEvictionRun

setNumTestsPerEvictionRun

public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)
Parameters:
numTestsPerEvictionRun - the numTestsPerEvictionRun to set

getMinEvictableIdleTimeMillis

public int getMinEvictableIdleTimeMillis()
Returns:
the minEvictableIdleTimeMillis

setMinEvictableIdleTimeMillis

public void setMinEvictableIdleTimeMillis(int minEvictableIdleTimeMillis)
Parameters:
minEvictableIdleTimeMillis - the minEvictableIdleTimeMillis to set

getJndiName

public String getJndiName()
Returns:
the jndiName

setJndiName

public void setJndiName(String jndiName)
Parameters:
jndiName - the jndiName to set

toString

public String toString()
Overrides:
toString in class Object

getMaxWait

public int getMaxWait()
Returns:
the maxWait

setMaxWait

public void setMaxWait(int maxWait)
Parameters:
maxWait - the maxWait to set

getConnectionType

public String getConnectionType()
Returns:
the connectionType

setConnectionType

public void setConnectionType(String connectionType)
Parameters:
connectionType - the connectionType to set


Copyright © 2016 Silverpeas. All Rights Reserved.