public synchronized Object put(Object key, Object value)
{
// Reject inappropriate elements
if (value == null && !allowNulls)
{
throw new NullsNotAllowedException(ownerSM, fieldName);
}
if (useCache)
{
// Make sure we have all values loaded (e.g if in optimistic tx and we put new entry)