From: Christian N. <chr...@em...> - 2003-02-07 02:02:53
|
I've checked in the new listener code. New classes: org.logicalcobwebs.proxool.util.ListenerContainerIF org.logicalcobwebs.proxool.util.AbstractListenerContainer org.logicalcobwebs.proxool.util.ReadWriteLock (from Avalon Excalibur) org.logicalcobwebs.proxool.CompositeConfigurationListener org.logicalcobwebs.proxool.CompositeConnectionListener org.logicalcobwebs.proxool.CompositeStateListener org.logicalcobwebs.proxool.monitor.CompositeStatisticsListener Changed classes: org.logicalcobwebs.proxool.ConnectionPool. org.logicalcobwebs.proxool.ProxoolFacade. The new classes consists of an abstract generic listener container that supports concurency with a read/write lock pluss concrete implementations for each listener type. I have not added tests yet, but they seem to pass the current tests. I will add tests if you ok my apporach with the listeners. Bill - There is one test failure at the moment: 1) testConfigurator(org.logicalcobwebs.proxool.configuration.ConfiguratorTest junit.framework.AssertionFailedError: adapter.getConnectionPoolDefinition() is null ...I hope this is not my fault =8-0 I've also added a new "util" package for generic utils that might be required outside of the main proxool package. I've moved FastArrayList there. CHR -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife |