# com.bea.p13n.mbeans
DocumentConnectionPoolMBean Interface

public interface DocumentConnectionPoolMBean
extends `ServiceConfigurationMBean`

Document Connection pool configuration mbean.

All Superinterfaces
  `ConfigurationMBean`, `DynamicMBean`, `MBeanRegistration`, `NotificationBroadcaster`, `ServiceConfigurationMBean`, `WebLogicMBean`

## Field Summary

Fields from interface weblogic.management.configuration`.`ConfigurationMBean``
`CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY`

## Method Summary

`public int` | `getCapacityIncrement`() Get the capacity increment.
`public `String`[]` | `getClassPath`() Get the classpath elements to use when loading the driver (and, potentionally, DocumentProvider).
`public `String`` | `getDriverName`() Get the JDBC driver name.
`public int` | `getInitialCapacity`() Get the initial capacity of the pool.
`public int` | `getLoginTimeout`() Get the login timeout (the amount of time the pool will wait for a connection to become available).
`public int` | `getMaxCapacity`() Get the maximum capacity of the pool.
`public `Properties`` | `getProperties`() Get the JDBC properties.
`public `String`` | `getURL`() Get the JDBC URL.
`public boolean` | `isShrinkingEnabled`() Is shrinking enabled.
`public void` | `restart`() Restart the connection pool.
`public void` | `setCapacityIncrement`(int inc) Set the capacity increment.
`public void` | `setClassPath`(`String`[] classpath) Set the classpath elements to use when loading the driver (and, potentionally, DocumentProvider).
`public void` | `setDriverName`(`String` driverName) Set the JDBC driver name.
`public void` | `setInitialCapacity`(int cap) Set the initial capacity of the pool.
`public void` | `setLoginTimeout`(int timeout) Set the login timeout (the amount of time the pool will wait for a connection to become available).
`public void` | `setMaxCapacity`(int cap) Set the maximum capacity of the pool.
`public void` | `setProperties`(`Properties` p) Set the JDBC properties.
`public void` | `setShrinkingEnabled`(boolean b) Set if shrinking is enabled.
`public void` | `setURL`(`String` url) Set the JDBC URL.
`public void` | `shutdown`() Shutdown the connection pool.
`public void` | `start`() Start the connection pool.

Methods from interface `weblogic.management.configuration.`ConfigurationMBean``
`freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean`

Methods from interface `javax.management.`DynamicMBean``
`getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes`

Methods from interface `javax.management.`MBeanRegistration``
`postDeregister, postRegister, preDeregister, preRegister`

Methods from interface `javax.management.`NotificationBroadcaster``
`addNotificationListener, getNotificationInfo, removeNotificationListener`

Methods from interface `com.bea.p13n.management.`ServiceConfigurationMBean``
``

Methods from interface `weblogic.management.`WebLogicMBean``
`getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent`

## Method Detail

### getCapacityIncrement() Method

    public int getCapacityIncrement()

Get the capacity increment.

### getClassPath() Method

    public String[] getClassPath()

Get the classpath elements to use when loading the driver (and, potentionally, DocumentProvider).

All paths are relative to the enterprise application base. The enterprise application classloader will be the parent classloader.

### getDriverName() Method

    public String getDriverName()

Get the JDBC driver name.

### getInitialCapacity() Method

    public int getInitialCapacity()

Get the initial capacity of the pool.

### getLoginTimeout() Method

    public int getLoginTimeout()

Get the login timeout (the amount of time the pool will wait for a connection to become available).

### getMaxCapacity() Method

    public int getMaxCapacity()

Get the maximum capacity of the pool.

### getProperties() Method

    public Properties getProperties()

Get the JDBC properties.

### getURL() Method

    public String getURL()

Get the JDBC URL.

### isShrinkingEnabled() Method

    public boolean isShrinkingEnabled()

Is shrinking enabled.

### restart() Method

    public void restart()

Restart the connection pool.

### setCapacityIncrement(int) Method

    public void setCapacityIncrement(int inc)

Set the capacity increment.

### setClassPath(String[]) Method

    public void setClassPath(String[] classpath)

Set the classpath elements to use when loading the driver (and, potentionally, DocumentProvider).

All paths are relative to the enterprise application base. The enterprise application classloader will be the parent classloader.

### setDriverName(String) Method

    public void setDriverName(String driverName)

Set the JDBC driver name.

### setInitialCapacity(int) Method

    public void setInitialCapacity(int cap)

Set the initial capacity of the pool.

### setLoginTimeout(int) Method

    public void setLoginTimeout(int timeout)

Set the login timeout (the amount of time the pool will wait for a connection to become available).

### setMaxCapacity(int) Method

    public void setMaxCapacity(int cap)

Set the maximum capacity of the pool.

### setProperties(Properties) Method

    public void setProperties(Properties p)

Set the JDBC properties.

### setShrinkingEnabled(boolean) Method

    public void setShrinkingEnabled(boolean b)

Set if shrinking is enabled.

### setURL(String) Method

    public void setURL(String url)

Set the JDBC URL.

### shutdown() Method

    public void shutdown()

Shutdown the connection pool.

### start() Method

    public void start()

Start the connection pool.