Class AggregateDirContextProcessor
java.lang.Object
org.springframework.ldap.core.support.AggregateDirContextProcessor
- All Implemented Interfaces:
DirContextProcessor
Manages a sequence of
DirContextProcessor instances. Applies
preProcess(DirContext) and postProcess(DirContext)
respectively in sequence on the managed objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDirContextProcessor(DirContextProcessor processor) Add the supplied DirContextProcessor to the list of managed objects.Get the list of managedDirContextProcessorinstances.voidpostProcess(DirContext ctx) Perform post-processing on the suppliedDirContext.voidpreProcess(DirContext ctx) Perform pre-processing on the supplied DirContext.voidsetDirContextProcessors(List<DirContextProcessor> dirContextProcessors) Set the list of managedDirContextProcessorinstances.
-
Constructor Details
-
AggregateDirContextProcessor
public AggregateDirContextProcessor()
-
-
Method Details
-
addDirContextProcessor
Add the supplied DirContextProcessor to the list of managed objects.- Parameters:
processor- the DirContextpProcessor to add.
-
getDirContextProcessors
Get the list of managedDirContextProcessorinstances.- Returns:
- the managed list of
DirContextProcessorinstances.
-
setDirContextProcessors
Set the list of managedDirContextProcessorinstances.- Parameters:
dirContextProcessors- the list ofDirContextProcessorinstances to set.
-
preProcess
Description copied from interface:DirContextProcessorPerform pre-processing on the supplied DirContext.- Specified by:
preProcessin interfaceDirContextProcessor- Parameters:
ctx- theDirContextinstance.- Throws:
NamingException- if thrown by the underlying operation.
-
postProcess
Description copied from interface:DirContextProcessorPerform post-processing on the suppliedDirContext.- Specified by:
postProcessin interfaceDirContextProcessor- Parameters:
ctx- theDirContextinstance.- Throws:
NamingException- if thrown by the underlying operation.
-