classInfoMap.clear();
}
private void setAttributes(final ClassInfo classInfo, final String className)
throws ClassInfoException {
final ClassInfoAttributes classInfoAttributes = classInfoAttributeMap
.remove(className);
if (classInfoAttributes != null) {
if (classInfoAttributes.isStoreSerializeInOneRecord()) {
classInfo.setStoreSerializeInOneRecord();
}
if (classInfoAttributes.isStoreSerializeAndZippedInOneRecord()) {
classInfo.setStoreSerializeAndZippedInOneRecord();
}
if (classInfoAttributes.isStoreSerializeAndGZippedInOneRecord()) {
classInfo.setStoreSerializeAndGZippedInOneRecord();
}
if (classInfoAttributes.isStoreNotUseStandardSerialization()) {
classInfo.setStoreNotUseStandardSerialization();
}
if (classInfoAttributes.isStorable()) {
classInfo.setStorable();
}
if (classInfoAttributes.isNotStorable()) {
classInfo.setNotStorable();
}
if (classInfoAttributes.isDeprecatedInStore()) {
classInfo.setDeprecatedInStore();
}
if (classInfoAttributes.isNoLazyLoad()) {
classInfo.setNoLazyLoad();
}
if (classInfoAttributes.isForceEnhance()) {
classInfo.setForceEnhance();
}
final Set<String> toNotCheckMethodSet = classInfoAttributes
.getToNotCheckMethodSet();
for (String absoluteMethodName : toNotCheckMethodSet) {
classInfo.addToNotCheckMethod(absoluteMethodName);
}
if (classInfoAttributes.haveSubstituteObjectManager()) {
final ClassInfo substituteClassInfo = getNoProxyClassInfo(classInfoAttributes
.getSubstituteObjectClass());
classInfo.setSubstituted(substituteClassInfo,
classInfoAttributes.getSubstituteObjectManager());
}
if (classInfoAttributes.getWriteSubstition() != null) {
final ClassInfo substituteClassInfo = getNoProxyClassInfo(classInfoAttributes
.getWriteSubstition());
classInfo.setWriteSubstituted(substituteClassInfo,
classInfoAttributes.getSynchronizer());
}
if (classInfoAttributes.getObjectInput() != null
|| classInfoAttributes.getObjectOutput() != null) {
objectIOManager.setSpecificObjectIO(classInfo,
classInfoAttributes.getObjectInput(),
classInfoAttributes.getObjectOutput());
}
final String[] notPersistedField = classInfoAttributes
.getNotPersistedField();
if (notPersistedField != null) {
classInfo.setNotPersistedField(notPersistedField);
}
}