org.kuali.rice.core.ojb
Class ConfigurableSequenceManager
java.lang.Object
org.kuali.rice.core.ojb.ConfigurableSequenceManager
- All Implemented Interfaces:
- org.apache.ojb.broker.util.sequence.SequenceManager
public class ConfigurableSequenceManager
- extends Object
- implements org.apache.ojb.broker.util.sequence.SequenceManager
A sequence manager implementation which can be configured at runtime via the KEW
Configuration API.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_PREFIX_ATTRIBUTE
private static final String PROPERTY_PREFIX_ATTRIBUTE
- See Also:
- Constant Field Values
DEFAULT_PROPERTY_PREFIX
private static final String DEFAULT_PROPERTY_PREFIX
- See Also:
- Constant Field Values
DEFAULT_SEQUENCE_MANAGER_CLASSNAME
private static final String DEFAULT_SEQUENCE_MANAGER_CLASSNAME
broker
private org.apache.ojb.broker.PersistenceBroker broker
sequenceManager
private org.apache.ojb.broker.util.sequence.SequenceManager sequenceManager
ConfigurableSequenceManager
public ConfigurableSequenceManager(org.apache.ojb.broker.PersistenceBroker broker)
createSequenceManager
protected org.apache.ojb.broker.util.sequence.SequenceManager createSequenceManager(org.apache.ojb.broker.PersistenceBroker broker)
getSequenceManagerClassNameProperty
protected String getSequenceManagerClassNameProperty(String propertyPrefix)
getConfiguredSequenceManager
protected org.apache.ojb.broker.util.sequence.SequenceManager getConfiguredSequenceManager()
getSequenceManagerConfigProperties
protected Properties getSequenceManagerConfigProperties(String propertyPrefix)
afterStore
public void afterStore(org.apache.ojb.broker.accesslayer.JdbcAccess jdbcAccess,
org.apache.ojb.broker.metadata.ClassDescriptor classDescriptor,
Object object)
throws org.apache.ojb.broker.util.sequence.SequenceManagerException
- Specified by:
afterStore
in interface org.apache.ojb.broker.util.sequence.SequenceManager
- Throws:
org.apache.ojb.broker.util.sequence.SequenceManagerException
getUniqueValue
public Object getUniqueValue(org.apache.ojb.broker.metadata.FieldDescriptor fieldDescriptor)
throws org.apache.ojb.broker.util.sequence.SequenceManagerException
- Specified by:
getUniqueValue
in interface org.apache.ojb.broker.util.sequence.SequenceManager
- Throws:
org.apache.ojb.broker.util.sequence.SequenceManagerException
getBroker
public org.apache.ojb.broker.PersistenceBroker getBroker()
getPropertyPrefix
public String getPropertyPrefix()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.