final Class<?> substituteObjectClass,
final ISubstituteObjectManager substituteObjectManager)
throws ClassInfoException {
final ClassInfo classInfo = classInfoMap.get(objectClassName);
if (classInfo == null) {
final ClassInfoAttributes classInfoAttributes = getOrCreateClassInfoAttribute(objectClassName);
classInfoAttributes.setSubstituteObjectManager(
substituteObjectClass, substituteObjectManager);
} else {
final ClassInfo substituteClassInfo = getNoProxyClassInfo(substituteObjectClass);
classInfo.setSubstituted(substituteClassInfo,
substituteObjectManager);