[OJB-developers] Configuration & SequenceManager
Brought to you by:
thma
From: <Joa...@tp...> - 2002-03-19 10:17:12
|
Hy, I'm currently looking at writing a custom SequenceManager, 'cause we want to keep our OID-System (OIDs unique over all tables, special prefix per Client (not used in buisness logic, just for ease of debuging) and a timestamp from the creation of the object). For this I wanted to extend SequenceManagerHighLowImpl to allow the first part (unique OIDs) with an configuration option (The other stuff would go in a seperate class, as I don't think it is useable for anyone else). Unfortunately it seems there is no generic configuration ability for plugable classes (such as SequenceManager). Is it really the case that whenever I want to use a plugable class that can have some options I have to modify PersistenceBrokerConfiguration as well? A simple API for such plugable Classes to allow reading some Configuration from the OJB.properties would be good (exposing the Properties-object would be sufficient IMHO). regards Joachim Sauer |