com.codestudio.management
Class PoolManConfiguration
java.lang.Object
|
+--com.codestudio.management.PoolManConfiguration
- public class PoolManConfiguration
- extends java.lang.Object
This service configures ObjectPools by first looking for
'poolman.xml' in the CLASSPATH. If it finds it, it parses
the database entries and generic Class entries and creates
MBeans and pools for them, adding each one to an appropriate
PoolManager and the MBeanServer. If it
cannot find this xml file, it looks for 'poolman.props' and
loads those properties in order to create the pools (with
no MBeans). If it cannot find poolman.props, it looks for
the deprecated pool.props file and treats it as if it
were named 'poolman.props'. If it cannot find any of these
files, it throws an Exception.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoolManConfiguration
public PoolManConfiguration(java.lang.String configFile)
isUsingJMX
public boolean isUsingJMX()
loadConfiguration
public void loadConfiguration()
throws java.lang.Exception
- Load DataSource info from XML and create a Service for each entry set.
getDataSources
public java.util.ArrayList getDataSources()
getGenericPools
public java.util.ArrayList getGenericPools()
getAdminProperties
public java.util.Properties getAdminProperties()
Copyright © 1999-2001 The Code Studio. All Rights Reserved.