org.apache.directory.server.protocol.shared
Class DirectoryBackedService
java.lang.Object
org.apache.directory.server.protocol.shared.AbstractProtocolService
org.apache.directory.server.protocol.shared.DirectoryBackedService
- All Implemented Interfaces:
- ProtocolService
public abstract class DirectoryBackedService
- extends AbstractProtocolService
Base class shared by all protocol providers for configuration.
- Author:
- Apache Directory Project
|
Method Summary |
org.apache.directory.server.core.api.DirectoryService |
getDirectoryService()
|
String |
getSearchBaseDn()
Returns the search base Dn. |
boolean |
isCatelogBased()
Gets true if this service uses a catalog for searching different
regions of the DIT for its data. |
void |
setCatelogBased(boolean catelogBased)
Set true if this service uses a catalog for searching different
regions of the DIT for its data. |
void |
setDirectoryService(org.apache.directory.server.core.api.DirectoryService directoryService)
|
void |
setSearchBaseDn(String searchBaseDn)
|
| Methods inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService |
addTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransports |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryBackedService
public DirectoryBackedService()
getDirectoryService
public org.apache.directory.server.core.api.DirectoryService getDirectoryService()
setDirectoryService
public void setDirectoryService(org.apache.directory.server.core.api.DirectoryService directoryService)
getSearchBaseDn
public String getSearchBaseDn()
- Returns the search base Dn.
- Returns:
- The search base Dn.
setSearchBaseDn
public void setSearchBaseDn(String searchBaseDn)
- Parameters:
searchBaseDn - The searchBaseDn to set.
isCatelogBased
public boolean isCatelogBased()
- Gets true if this service uses a catalog for searching different
regions of the DIT for its data.
- Returns:
- true if the search base dn is for a catalog, false otherwise
setCatelogBased
public void setCatelogBased(boolean catelogBased)
- Set true if this service uses a catalog for searching different
regions of the DIT for its data.
- Parameters:
catelogBased - if the search base dn is for a catalog, false otherwise
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.