anvil.server
Class PoolPreferences
java.lang.Object
|
+--anvil.server.Preferences
|
+--anvil.server.PoolPreferences
- All Implemented Interfaces:
- Configurable
- public class PoolPreferences
- extends Preferences
class PoolPreferences
| Fields inherited from interface anvil.server.Configurable |
ACCESS, APPLICATION, BIND, CLASSES, COMPILER, DOMAIN, HANDLERS, LISTENER, LOCALIZATION, LOGGING, MODULES, NAMESPACE, POLICY, POOL, REALM, SERVER, SESSION, SESSION_CONTAINER, ZONE |
| Methods inherited from class anvil.server.Preferences |
deletePreference, getAdditionalPreferenceNames, getBooleanPreference, getBooleanPreference, getConfigurations, getIntPreference, getIntPreference, getParent, getPreference, isEmpty, parseValues, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PREFERENCES
public static final java.lang.String[] PREFERENCES
PoolPreferences
public PoolPreferences(Zone parent)
setEnabled
public void setEnabled(boolean enabled)
isEnabled
public boolean isEnabled()
setDriver
public void setDriver(java.lang.String driver)
getDriver
public java.lang.String getDriver()
setFactory
public void setFactory(java.lang.String factory)
getFactory
public java.lang.String getFactory()
setMonitor
public void setMonitor(java.lang.String monitor)
getMonitor
public java.lang.String getMonitor()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
setURL
public void setURL(java.lang.String url)
getURL
public java.lang.String getURL()
setUsername
public void setUsername(java.lang.String username)
getUsername
public java.lang.String getUsername()
setPassword
public void setPassword(java.lang.String password)
getPassword
public java.lang.String getPassword()
setMinConnections
public void setMinConnections(int min)
getMinConnections
public int getMinConnections()
setMaxConnections
public void setMaxConnections(int max)
getMaxConnections
public int getMaxConnections()
setLifetime
public void setLifetime(int lifetime)
getLifetime
public int getLifetime()
setTimeout
public void setTimeout(int timeout)
getTimeout
public int getTimeout()
setCheckTimeout
public void setCheckTimeout(int timeout)
getCheckTimeout
public int getCheckTimeout()
setAcquireTimeout
public void setAcquireTimeout(int timeout)
getAcquireTimeout
public int getAcquireTimeout()
getType
public int getType()
- Specified by:
getType in interface Configurable- Specified by:
getType in class Preferences
getPreferences
public java.lang.String[] getPreferences()
- Specified by:
getPreferences in interface Configurable- Overrides:
getPreferences in class Preferences
setPreference
public boolean setPreference(java.lang.String name,
java.lang.String value)
- Specified by:
setPreference in interface Configurable- Overrides:
setPreference in class Preferences
getPreference
public java.lang.Object getPreference(java.lang.String name)
- Specified by:
getPreference in interface Configurable- Overrides:
getPreference in class Preferences
configure
public boolean configure(Configurable configurable)
- Specified by:
configure in interface Configurable- Overrides:
configure in class Preferences
deleteConfiguration
public void deleteConfiguration(Configurable configurable)
- Specified by:
deleteConfiguration in interface Configurable- Overrides:
deleteConfiguration in class Preferences