class LdapTemplate implements LdapOperations, InitializingBean {

	@Override
	public void bind(final Name dn, final Object obj, final Attributes attributes) {
		executeReadWrite(new ContextExecutor<Object>() {
			public Object executeWithContext(DirContext ctx) throws javax.naming.NamingException {
				ctx.bind(dn, obj, attributes);
				return null;
			}
		});
	}

	public  LdapTemplate();
	public  LdapTemplate(ContextSource contextSource);

}