connectionManager.setUsername(connectionConfig.getUsername());
connectionManager.setPassword(connectionConfig.getPassword());
if (connectionConfig.getSession().size() > 0) {
SessionManager sessionManager;
DestinationManager destinationManager;
SessionConfig sessionConfig = connectionConfig.getSession().get(0);
if (jndiFactory != null) {
jndiFactory._setDelegateClassLoader(classLoader);