Tabnine Logo
EntryFilteringCursor.close
Code IndexAdd Tabnine to your IDE (free)

How to use
close
method
in
org.apache.directory.server.core.api.filtering.EntryFilteringCursor

Best Java code snippets using org.apache.directory.server.core.api.filtering.EntryFilteringCursor.close (Showing top 17 results out of 315)

origin: org.apache.directory.server/apacheds-core-api

/**
 * {@inheritDoc}
 */
public void close( Exception reason )
{
  if ( IS_DEBUG )
  {
    LOG_CURSOR.debug( "Closing CursorList {}", this );
  }
  closed = true;
  for ( EntryFilteringCursor cursor : list )
  {
    try
    {
      if ( reason != null )
      {
        cursor.close( reason );
      }
      else
      {
        cursor.close();
      }
    }
    catch ( Exception e )
    {
      LOG.warn( "Failed to close the cursor" );
    }
  }
}
origin: org.apache.directory.server/apacheds-core-jndi

public void close() throws NamingException
{
  try
  {
    cursor.close();
    available = false;
  }
  catch ( Exception e )
  {
    JndiUtils.wrap( e );
  }
}
origin: org.apache.directory.server/apacheds-core-jndi

public NamingEnumerationAdapter( EntryFilteringCursor cursor ) throws NamingException
{
  this.cursor = cursor;
  try
  {
    if ( !cursor.first() )
    {
      cursor.close();
      available = false;
    }
    else
    {
      available = true;
    }
  }
  catch ( Exception e )
  {
    JndiUtils.wrap( e );
  }
}
origin: org.apache.directory.server/apacheds-interceptors-admin

results.close();
origin: org.apache.directory.server/apacheds-interceptors-subtree

aps.close();
origin: org.apache.directory.server/apacheds-core-jndi

public SearchResult next() throws NamingException
{
  Entry entry = null;
  try
  {
    entry = cursor.get();
    if ( cursor.next() )
    {
      available = true;
    }
    else
    {
      available = false;
      cursor.close();
    }
  }
  catch ( Exception e )
  {
    JndiUtils.wrap( e );
  }
  SearchResult result = new SearchResult( entry.getDn().getName(), null,
    ServerEntryUtils.toBasicAttributes( entry ) );
  result.setRelative( false );
  return result;
}
origin: org.apache.directory.server/apacheds-interceptors-subtree

subentries.close();
  subentries.close();
origin: com.github.livesense/org.liveSense.service.apacheds

cursor.close();
origin: org.apache.directory.server/apacheds-core-shared

cursor.close();
origin: org.apache.directory.server/apacheds-interceptors-trigger

results.close();
origin: org.apache.directory.server/apacheds-core-api

cursor.close();
origin: org.apache.directory.server/apacheds-interceptors-subtree

subentries.close();
origin: org.apache.directory.server/apacheds-interceptors-subtree

subentries.close();
  subentries.close();
subentries.close();
  subentries.close();
origin: org.apache.directory.server/apacheds-protocol-ldap

    cursor.close();
cursor.close();
origin: org.apache.directory.server/apacheds-interceptors-subtree

subentries.close();
origin: org.apache.directory.server/apacheds-interceptors-subtree

subentries.close();
origin: org.apache.directory.server/apacheds-interceptors-subtree

subentries.close();
org.apache.directory.server.core.api.filteringEntryFilteringCursorclose

Popular methods of EntryFilteringCursor

  • get
  • next
  • addEntryFilter
    Adds an entry filter to this BaseEntryFilteringCursor at the very end of the filter list. EntryFilte
  • beforeFirst
  • first
  • afterLast
  • available
  • isFirst
  • isLast
  • last
  • previous
  • setClosureMonitor
  • previous,
  • setClosureMonitor

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • putExtra (Intent)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Path (java.nio.file)
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now