org.apache.directory.server.core.schema
Class SchemaService

java.lang.Object
  extended by org.apache.directory.server.core.schema.SchemaService

public class SchemaService
extends java.lang.Object

Document me!

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
SchemaService(Registries registries, JdbmPartition schemaPartition, SchemaOperationControl schemaControl)
           
 
Method Summary
 Registries getRegistries()
           
 ServerEntry getSubschemaEntry(java.lang.String[] ids)
          Gets the schemaSubentry based on specific search id parameters which include the special '*' and '+' operators.
 ServerEntry getSubschemaEntryCloned()
          A seriously unsafe (unsynchronized) means to access the schemaSubentry.
 ServerEntry getSubschemaEntryImmutable()
          A seriously unsafe (unsynchronized) means to access the schemaSubentry.
 boolean isSchemaSubentry(java.lang.String dnString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaService

public SchemaService(Registries registries,
                     JdbmPartition schemaPartition,
                     SchemaOperationControl schemaControl)
              throws javax.naming.NamingException
Throws:
javax.naming.NamingException
Method Detail

isSchemaSubentry

public boolean isSchemaSubentry(java.lang.String dnString)
                         throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getRegistries

public Registries getRegistries()

getSubschemaEntryImmutable

public ServerEntry getSubschemaEntryImmutable()
                                       throws java.lang.Exception
A seriously unsafe (unsynchronized) means to access the schemaSubentry.

Returns:
the schemaSubentry
Throws:
javax.naming.NamingException - if there is a failure to access schema timestamps
java.lang.Exception

getSubschemaEntryCloned

public ServerEntry getSubschemaEntryCloned()
                                    throws java.lang.Exception
A seriously unsafe (unsynchronized) means to access the schemaSubentry.

Returns:
the schemaSubentry
Throws:
javax.naming.NamingException - if there is a failure to access schema timestamps
java.lang.Exception

getSubschemaEntry

public ServerEntry getSubschemaEntry(java.lang.String[] ids)
                              throws java.lang.Exception
Gets the schemaSubentry based on specific search id parameters which include the special '*' and '+' operators.

Parameters:
ids - the ids of the attributes that should be returned from a search
Returns:
the subschema entry with the ids provided
Throws:
javax.naming.NamingException - if there are failures during schema info access
java.lang.Exception


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.