public class AggregateDirContextProcessor extends java.lang.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.
|
java.util.List |
getDirContextProcessors()
Get the list of managed
DirContextProcessor instances. |
void |
postProcess(javax.naming.directory.DirContext ctx)
Perform post-processing on the supplied
DirContext . |
void |
preProcess(javax.naming.directory.DirContext ctx)
Perform pre-processing on the supplied DirContext.
|
void |
setDirContextProcessors(java.util.List dirContextProcessors)
Set the list of managed
DirContextProcessor instances. |
public void addDirContextProcessor(DirContextProcessor processor)
processor
- the DirContextpProcessor to add.public java.util.List getDirContextProcessors()
DirContextProcessor
instances.DirContextProcessor
instances.public void setDirContextProcessors(java.util.List dirContextProcessors)
DirContextProcessor
instances.dirContextProcessors
- the list of DirContextProcessor
instances to set.public void preProcess(javax.naming.directory.DirContext ctx) throws javax.naming.NamingException
DirContextProcessor
preProcess
in interface DirContextProcessor
ctx
- the DirContext
instance.javax.naming.NamingException
- if thrown by the underlying operation.public void postProcess(javax.naming.directory.DirContext ctx) throws javax.naming.NamingException
DirContextProcessor
DirContext
.postProcess
in interface DirContextProcessor
ctx
- the DirContext
instance.javax.naming.NamingException
- if thrown by the underlying operation.