contextSource.setPooled(false);
contextSource.afterPropertiesSet();
PoolingContextSource pcs = new MutablePoolingContextSource();
pcs.setContextSource(contextSource);
ldapTemplate = new LdapTemplate(pcs);
if (!ldapService.isRunning()) return;
Resource[] ldifs = initializationData();
for (int i = 0; i < ldifs.length; i++)