db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Matrigali <mikem_...@sbcglobal.net>
Subject what is right way to add jdk1.5 specific calls to derby?
Date Tue, 08 Nov 2005 18:35:18 GMT
In trying to suggest the correct path to take for DERBY-666,
I was surprised by some code I saw in BaseMonitor.java for
loading jdk1.4 specfic module for DirStorageFactory.

Is the following the correct way to add a 1.5 specific feature:
1) add a 1.5 module to be loaded by the monitor - usually a
   very small class that extends an existing Factory and is
   there to just provide the specific feature necessary.

2) update modules.properties to load the new 1.5 factory if
   appropriate.  Follow the J1,J2,J4 pattern but add J5.

3) Make BaseMonitor changes to support the new J5 stuff.

View raw message