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

java.lang.Object
  extended by org.apache.directory.server.core.schema.DefaultSchemaService
All Implemented Interfaces:
SchemaService

public class DefaultSchemaService
extends java.lang.Object
implements SchemaService

This class manage the Schema's operations.

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

Constructor Summary
DefaultSchemaService()
           
 
Method Summary
 org.apache.directory.shared.ldap.schema.SchemaManager getSchemaManager()
           
 SchemaPartition getSchemaPartition()
           
 org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntry(java.lang.String[] ids)
          
 org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryCloned()
           
 org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryImmutable()
          
 void initialize()
          Initializes the SchemaService
 boolean isSchemaSubentry(java.lang.String dnString)
           
 void setSchemaPartition(SchemaPartition schemaPartition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSchemaService

public DefaultSchemaService()
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

isSchemaSubentry

public boolean isSchemaSubentry(java.lang.String dnString)
                         throws org.apache.directory.shared.ldap.exception.LdapException
Specified by:
isSchemaSubentry in interface SchemaService
Throws:
org.apache.directory.shared.ldap.exception.LdapException

getSchemaManager

public final org.apache.directory.shared.ldap.schema.SchemaManager getSchemaManager()
Specified by:
getSchemaManager in interface SchemaService

getSchemaPartition

public SchemaPartition getSchemaPartition()
Specified by:
getSchemaPartition in interface SchemaService

setSchemaPartition

public void setSchemaPartition(SchemaPartition schemaPartition)
Specified by:
setSchemaPartition in interface SchemaService

getSubschemaEntryImmutable

public org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryImmutable()
                                                                              throws java.lang.Exception

Specified by:
getSubschemaEntryImmutable in interface SchemaService
Throws:
java.lang.Exception

initialize

public void initialize()
                throws java.lang.Exception
Initializes the SchemaService

Specified by:
initialize in interface SchemaService
Throws:
java.lang.Exception - If the initializaion fails

getSubschemaEntryCloned

public org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryCloned()
                                                                           throws java.lang.Exception
Specified by:
getSubschemaEntryCloned in interface SchemaService
Throws:
java.lang.Exception

getSubschemaEntry

public org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntry(java.lang.String[] ids)
                                                                     throws java.lang.Exception

Specified by:
getSubschemaEntry in interface SchemaService
Throws:
java.lang.Exception


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.