org.apache.directory.server.protocol.shared
Class DirectoryBackedService

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.AbstractProtocolService
      extended by org.apache.directory.server.protocol.shared.DirectoryBackedService
All Implemented Interfaces:
ProtocolService
Direct Known Subclasses:
ChangePasswordServer, DnsServer, KdcServer, LdapService

public abstract class DirectoryBackedService
extends AbstractProtocolService

Base class shared by all protocol providers for configuration.

Version:
$Rev: 603104 $, $Date: 2007-12-11 01:19:02 +0100 (Di, 11 Dez 2007) $
Author:
Apache Directory Project

Constructor Summary
DirectoryBackedService()
           
 
Method Summary
 java.lang.String getSearchBaseDn()
          Returns the search base DN.
 boolean isCatelogBased()
          Gets true if this service uses a catelog for searching different regions of the DIT for its data.
 void setCatelogBased(boolean catelogBased)
          Set true if this service uses a catelog for searching different regions of the DIT for its data.
 void setSearchBaseDn(java.lang.String searchBaseDn)
           
 
Methods inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService
getDatagramAcceptor, getDirectoryService, getIpAddress, getIpPort, getServiceId, getServiceName, getSocketAcceptor, getTransportProtocols, isEnabled, isStarted, setDatagramAcceptor, setDirectoryService, setEnabled, setIpAddress, setIpPort, setServiceId, setServiceName, setSocketAcceptor, setStarted, setTransportProtocols
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.server.protocol.shared.ProtocolService
start, stop
 

Constructor Detail

DirectoryBackedService

public DirectoryBackedService()
Method Detail

getSearchBaseDn

public java.lang.String getSearchBaseDn()
Returns the search base DN.

Returns:
The search base DN.

setSearchBaseDn

public void setSearchBaseDn(java.lang.String searchBaseDn)
Parameters:
searchBaseDn - The searchBaseDn to set.

isCatelogBased

public boolean isCatelogBased()
Gets true if this service uses a catelog for searching different regions of the DIT for its data.

Returns:
true if the search base dn is for a catelog, false otherwise

setCatelogBased

public void setCatelogBased(boolean catelogBased)
Set true if this service uses a catelog for searching different regions of the DIT for its data.

Parameters:
catelogBased - if the search base dn is for a catelog, false otherwise


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