protected BrokerImpl newBrokerImpl(String user, String pass) { BrokerImpl broker = super.newBrokerImpl(user, pass); lock(); try { // synchronize mappings; we wait until now to do this so that // we can use the first broker user/pass for connection if no // global login is given if (!_synchronizedMappings) { _synchronizedMappings = true; synchronizeMappings(broker.getClassLoader()); } return broker; } finally { unlock(); } }
protected BrokerImpl newBrokerImpl(String user, String pass) { BrokerImpl broker = super.newBrokerImpl(user, pass); lock(); try { // synchronize mappings; we wait until now to do this so that // we can use the first broker user/pass for connection if no // global login is given if (!_synchronizedMappings) { _synchronizedMappings = true; synchronizeMappings(broker.getClassLoader()); } return broker; } finally { unlock(); } }
protected BrokerImpl newBrokerImpl(String user, String pass) { BrokerImpl broker = super.newBrokerImpl(user, pass); lock(); try { // synchronize mappings; we wait until now to do this so that // we can use the first broker user/pass for connection if no // global login is given if (!_synchronizedMappings) { _synchronizedMappings = true; synchronizeMappings(broker.getClassLoader()); } return broker; } finally { unlock(); } }
protected BrokerImpl newBrokerImpl(String user, String pass) { BrokerImpl broker = super.newBrokerImpl(user, pass); lock(); try { // synchronize mappings; we wait until now to do this so that // we can use the first broker user/pass for connection if no // global login is given if (!_synchronizedMappings) { _synchronizedMappings = true; synchronizeMappings(broker.getClassLoader()); } return broker; } finally { unlock(); } }
protected BrokerImpl newBrokerImpl(String user, String pass) { BrokerImpl broker = super.newBrokerImpl(user, pass); lock(); try { // synchronize mappings; we wait until now to do this so that // we can use the first broker user/pass for connection if no // global login is given if (!_synchronizedMappings) { _synchronizedMappings = true; synchronizeMappings(broker.getClassLoader()); } return broker; } finally { unlock(); } }