public class AggregateDirContextProcessor extends Object implements DirContextProcessor
DirContextProcessor instances. Applies
preProcess(DirContext) and postProcess(DirContext)
respectively in sequence on the managed objects.| Constructor and Description |
|---|
AggregateDirContextProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirContextProcessor(DirContextProcessor processor)
Add the supplied DirContextProcessor to the list of managed objects.
|
List<DirContextProcessor> |
getDirContextProcessors()
Get the list of managed
DirContextProcessor instances. |
void |
postProcess(DirContext ctx)
Perform post-processing on the supplied
DirContext. |
void |
preProcess(DirContext ctx)
Perform pre-processing on the supplied DirContext.
|
void |
setDirContextProcessors(List<DirContextProcessor> dirContextProcessors)
Set the list of managed
DirContextProcessor instances. |
public void addDirContextProcessor(DirContextProcessor processor)
processor - the DirContextpProcessor to add.public List<DirContextProcessor> getDirContextProcessors()
DirContextProcessor instances.DirContextProcessor instances.public void setDirContextProcessors(List<DirContextProcessor> dirContextProcessors)
DirContextProcessor instances.dirContextProcessors - the list of DirContextProcessor instances to set.public void preProcess(DirContext ctx) throws NamingException
DirContextProcessorpreProcess in interface DirContextProcessorctx - the DirContext instance.NamingException - if thrown by the underlying operation.public void postProcess(DirContext ctx) throws NamingException
DirContextProcessorDirContext.postProcess in interface DirContextProcessorctx - the DirContext instance.NamingException - if thrown by the underlying operation.