|
Oracle Communications Service Broker Platform MBean Java API Reference 6.0 E26173-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.axia.config.beans.storage.persistence.DBDriver
public class DBDriver
Java class for DBDriver complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DBDriver">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="User" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="CredentialKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ConnectionFactory" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="InitialPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="MinPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="MaxPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="ValidationSQL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="property" type="{http://xmlns.oracle.com/axia/store-persistence}property" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
connectionFactory |
protected java.lang.String |
credentialKey |
protected int |
initialPoolSize |
protected int |
maxPoolSize |
protected int |
minPoolSize |
protected java.util.List<Property> |
property |
protected java.lang.String |
url |
protected java.lang.String |
user |
protected java.lang.String |
validationSQL |
| Constructor Summary | |
|---|---|
DBDriver()Default Constructor |
|
DBDriver(java.lang.String url, java.lang.String user, java.lang.String credentialKey, java.lang.String connectionFactory, int initialPoolSize, int minPoolSize, int maxPoolSize, java.lang.String validationSQL, java.util.List<Property> property) |
|
| Method Summary | |
|---|---|
void |
addProperty()Add a new element named property |
java.lang.String |
getConnectionFactory()Gets the value of the connectionFactory property. |
java.lang.String |
getCredentialKey()Gets the value of the credentialKey property. |
int |
getInitialPoolSize()Gets the value of the initialPoolSize property. |
int |
getMaxPoolSize()Gets the value of the maxPoolSize property. |
int |
getMinPoolSize()Gets the value of the minPoolSize property. |
java.util.List<Property> |
getProperty()Gets the value of the property property. |
java.util.List<PropertyMBean> |
getPropertyMBean()Get the list of the Property element |
java.lang.String |
getURL()Gets the value of the url property. |
java.lang.String |
getUser()Gets the value of the user property. |
java.lang.String |
getValidationSQL()Gets the value of the validationSQL property. |
void |
removeProperty(int index)Remove an element named property by the index |
void |
setConnectionFactory(java.lang.String value)Sets the value of the connectionFactory property. |
void |
setCredentialKey(java.lang.String value)Sets the value of the credentialKey property. |
void |
setInitialPoolSize(int value)Sets the value of the initialPoolSize property. |
void |
setMaxPoolSize(int value)Sets the value of the maxPoolSize property. |
void |
setMinPoolSize(int value)Sets the value of the minPoolSize property. |
void |
setURL(java.lang.String value)Sets the value of the url property. |
void |
setUser(java.lang.String value)Sets the value of the user property. |
void |
setValidationSQL(java.lang.String value)Sets the value of the validationSQL property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String url
protected java.lang.String user
protected java.lang.String credentialKey
protected java.lang.String connectionFactory
protected int initialPoolSize
protected int minPoolSize
protected int maxPoolSize
protected java.lang.String validationSQL
protected java.util.List<Property> property
| Constructor Detail |
|---|
public DBDriver()
public DBDriver(java.lang.String url,
java.lang.String user,
java.lang.String credentialKey,
java.lang.String connectionFactory,
int initialPoolSize,
int minPoolSize,
int maxPoolSize,
java.lang.String validationSQL,
java.util.List<Property> property)
| Method Detail |
|---|
public java.lang.String getURL()
getURL in interface DBDriverReadOnlyMBeanStringpublic void setURL(java.lang.String value)
setURL in interface DBDriverMBeanvalue - allowed object is Stringpublic java.lang.String getUser()
getUser in interface DBDriverReadOnlyMBeanStringpublic void setUser(java.lang.String value)
setUser in interface DBDriverMBeanvalue - allowed object is Stringpublic java.lang.String getCredentialKey()
getCredentialKey in interface DBDriverReadOnlyMBeanStringpublic void setCredentialKey(java.lang.String value)
setCredentialKey in interface DBDriverMBeanvalue - allowed object is Stringpublic java.lang.String getConnectionFactory()
getConnectionFactory in interface DBDriverReadOnlyMBeanStringpublic void setConnectionFactory(java.lang.String value)
setConnectionFactory in interface DBDriverMBeanvalue - allowed object is Stringpublic int getInitialPoolSize()
getInitialPoolSize in interface DBDriverReadOnlyMBeanpublic void setInitialPoolSize(int value)
setInitialPoolSize in interface DBDriverMBeanpublic int getMinPoolSize()
getMinPoolSize in interface DBDriverReadOnlyMBeanpublic void setMinPoolSize(int value)
setMinPoolSize in interface DBDriverMBeanpublic int getMaxPoolSize()
getMaxPoolSize in interface DBDriverReadOnlyMBeanpublic void setMaxPoolSize(int value)
setMaxPoolSize in interface DBDriverMBeanpublic java.lang.String getValidationSQL()
getValidationSQL in interface DBDriverReadOnlyMBeanStringpublic void setValidationSQL(java.lang.String value)
setValidationSQL in interface DBDriverMBeanvalue - allowed object is Stringpublic java.util.List<Property> getProperty()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list Property
public void addProperty()
addProperty in interface DBDriverMBeanpublic void removeProperty(int index)
removeProperty in interface DBDriverMBeanindex - The index of removing elementspublic java.util.List<PropertyMBean> getPropertyMBean()
getPropertyMBean in interface DBDriverReadOnlyMBean
|
Oracle Communications Service Broker Platform MBean Java API Reference 6.0 E26173-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||