scriptella.driver.ldap
Class LdifScript

java.lang.Object
  extended by scriptella.driver.ldap.LdifScript

public class LdifScript
extends java.lang.Object

Executor for LDIF script.

Version:
1.0
Author:
Fyodor Kupolov

Constructor Summary
LdifScript(LdapConnection connection)
           
 
Method Summary
 void execute(java.io.Reader reader, javax.naming.directory.DirContext ctx, scriptella.spi.ParametersCallback parameters)
          Executes an LDIF content from the specified reader.
protected  java.lang.Long getMaxFileLength()
          Accessor for testing purposes
protected  boolean isReadonly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdifScript

public LdifScript(LdapConnection connection)
Method Detail

execute

public void execute(java.io.Reader reader,
                    javax.naming.directory.DirContext ctx,
                    scriptella.spi.ParametersCallback parameters)
             throws LdapProviderException
Executes an LDIF content from the specified reader.

Parameters:
reader - reader with LDIF content.
Throws:
LdapProviderException - if directory access failed.

getMaxFileLength

protected java.lang.Long getMaxFileLength()
Accessor for testing purposes


isReadonly

protected boolean isReadonly()


Copyright © Copyright 2006-2009 The Scriptella Project Team.