private void prepareHandler() throws Exception {
startTime = System.currentTimeMillis();
final String interfaceName = connection.readString();
Class objectClass = readClass();
Class combinatorClass = readClass();
Combinator combinator = (Combinator) ReflectionUtils.createObject(combinatorClass);
synchronized (dataInterfaceFactory.getAllInterfaces()) {
dataInterface = findInterface(dataInterfaceFactory.getAllInterfaces(), interfaceName);
if (dataInterface != null) {
if (dataInterface.getCombinator().getClass() != combinator.getClass() || dataInterface.getObjectClass() != objectClass) {
writeError(" Data interface " + interfaceName + " was already initialized!");
} else if(dataInterface.wasClosed()) {
writeError(" Data interface " + interfaceName + " was closed!");
}
} else {