OW2 Consortium joram

Compare Revisions

Ignore whitespace Rev 3961 → Rev 3962

/trunk/joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/proxies/ConnectionManager.java
40,7 → 40,6
import fr.dyade.aaa.agent.AgentServer;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.common.Debug;
import fr.dyade.aaa.common.LoadClassLock;
import fr.dyade.aaa.util.management.MXWrapper;
 
/**
195,10 → 194,8
String identityClassName) throws Exception {
Identity identity = null;
try {
synchronized (LoadClassLock.lock) {
Class clazz = Class.forName(identityClassName);
identity = (Identity) clazz.newInstance();
}
Class clazz = Class.forName(identityClassName);
identity = (Identity) clazz.newInstance();
if (adminPassword != null)
identity.setIdentity(adminName, adminPassword);
else