com.xebialabs.deployit.plugin.wls.ci
Class WlsDataSource
java.lang.Object
com.xebialabs.deployit.BaseConfigurationItem
com.xebialabs.deployit.plugin.wls.ci.WlsResource
com.xebialabs.deployit.plugin.wls.ci.WlsDataSource
- All Implemented Interfaces:
- java.io.Serializable
@ConfigurationItem(description="A datasource to connect to a database.")
public class WlsDataSource
- extends WlsResource
A JDBC Datasource defined in a WLS domain.
- See Also:
- Serialized Form
|
Field Summary |
private java.lang.String |
driver
|
private int |
init
|
private java.lang.String |
jndiName
|
private int |
max
|
private java.lang.String |
name
|
private java.lang.String |
password
|
private java.lang.String |
properties
|
private java.lang.String |
uri
|
private java.lang.String |
userName
|
| Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem |
label |
| Methods inherited from class com.xebialabs.deployit.BaseConfigurationItem |
equals, getLabel, hashCode, setLabel, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
@ConfigurationItemProperty(required=true,
description="The name of the datasource in the WebLogic configuration, e.g. Order DataSource")
private java.lang.String name
jndiName
@ConfigurationItemProperty(required=true,
description="The JNDI name of the datasource, e.g. jdbc/orderdb")
private java.lang.String jndiName
uri
@ConfigurationItemProperty(required=true,
size=LARGE,
label="URI",
description="The JDBC uri to the database, e.g. jdbc:oracle:thin:@ora-prod:1521:orders")
private java.lang.String uri
userName
@ConfigurationItemProperty(description="The username credential for the database, e.g. scott")
private java.lang.String userName
password
@ConfigurationItemProperty(description="The password credential for the database, e.g. tiger",
password=true)
private java.lang.String password
driver
@ConfigurationItemProperty(required=true,
description="The driver of the datasource, the classname, e.g. oracle.jdbc.xa.client.OracleXADataSource")
private java.lang.String driver
init
@ConfigurationItemProperty(required=true,
category="Connection Pool",
description="The initial connectionpool size.")
private int init
max
@ConfigurationItemProperty(required=true,
category="Connection Pool",
description="The maximum connectionpool size.")
private int max
properties
@ConfigurationItemProperty(category="Connection Pool",
description="A comma separated list of name=value pairs.")
private java.lang.String properties
WlsDataSource
public WlsDataSource()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getJndiName
public java.lang.String getJndiName()
setJndiName
public void setJndiName(java.lang.String jndiName)
getUri
public java.lang.String getUri()
setUri
public void setUri(java.lang.String uri)
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getDriver
public java.lang.String getDriver()
setDriver
public void setDriver(java.lang.String driver)
getInit
public int getInit()
setInit
public void setInit(int init)
getMax
public int getMax()
setMax
public void setMax(int max)
getProperties
public java.lang.String getProperties()
setProperties
public void setProperties(java.lang.String properties)
Copyright © 2010. All Rights Reserved.