logPrefix +
"Unable to extract OID from objectKey: " +
(new String(objectKey))
);
}
throw new WrongAdapter();
}
if (isSystemId() && !previouslyGeneratedObjectId(objectId))
{
if (logger.isWarnEnabled())
{
logger.warn(logPrefix + "oid: " + POAUtil.convert(objectId) +
"reference_to_servant: oid not previously generated!");
}
throw new WrongAdapter();
}
else if (!isSystemId() && !_getQualifiedName().equals (POAUtil.extractPOAName(objectKey)))
{
if (logger.isWarnEnabled())
{
logger.warn(logPrefix + "reference: " + new String (objectKey) +
"reference_to_id: reference not previously generated for this POA!");
}
throw new WrongAdapter();
}
final ByteArrayKey oid = new ByteArrayKey (objectId);
if ( ( aom != null && aom.isDeactivating (oid) )