|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.directory.server.core.interceptor.BaseInterceptor
org.apache.directory.server.core.event.EventService
public class EventService
An interceptor based serivice for notifying NamingListeners of EventContext and EventDirContext changes.
| Nested Class Summary | |
|---|---|
(package private) class |
EventService.EventSourceRecord
|
| Constructor Summary | |
|---|---|
EventService()
|
|
| Method Summary | |
|---|---|
void |
add(NextInterceptor next,
LdapDN normName,
javax.naming.directory.Attributes entry)
Filters Partition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call. |
void |
addNamingListener(javax.naming.event.EventContext ctx,
javax.naming.Name name,
ExprNode filter,
javax.naming.directory.SearchControls searchControls,
javax.naming.event.NamingListener namingListener)
Registers a NamingListener with this service for notification of change. |
void |
delete(NextInterceptor next,
LdapDN name)
Filters Partition.delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
(package private) java.util.Set |
getSelectingSources(LdapDN name,
javax.naming.directory.Attributes entry)
|
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
This method does nothing by default. |
void |
modify(NextInterceptor next,
LdapDN name,
int modOp,
javax.naming.directory.Attributes mods)
Filters Partition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call. |
void |
modify(NextInterceptor next,
LdapDN name,
javax.naming.directory.ModificationItem[] mods)
Filters Partition.modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call. |
void |
modifyRn(NextInterceptor next,
LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
void |
move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName)
Filters Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
void |
removeNamingListener(javax.naming.event.EventContext ctx,
javax.naming.event.NamingListener namingListener)
|
| Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
|---|
addContextPartition, bind, compare, destroy, getContext, getMatchedName, getPrincipal, getRootDSE, getSuffix, hasEntry, isSuffix, list, listSuffixes, lookup, lookup, removeContextPartition, search, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventService()
| Method Detail |
|---|
public void init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
throws javax.naming.NamingException
BaseInterceptor
init in interface Interceptorinit in class BaseInterceptorjavax.naming.NamingException
public void addNamingListener(javax.naming.event.EventContext ctx,
javax.naming.Name name,
ExprNode filter,
javax.naming.directory.SearchControls searchControls,
javax.naming.event.NamingListener namingListener)
throws javax.naming.NamingException
ctx - the context used to register on (the source)name - the name of the base/targetfilter - the filter to use for evaluating event triggeringsearchControls - the search controls to use when evaluating triggeringnamingListener - the naming listener to register
javax.naming.NamingException
public void removeNamingListener(javax.naming.event.EventContext ctx,
javax.naming.event.NamingListener namingListener)
public void add(NextInterceptor next,
LdapDN normName,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
InterceptorPartition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call.
add in interface Interceptoradd in class BaseInterceptorjavax.naming.NamingException
public void delete(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.delete(org.apache.directory.shared.ldap.name.LdapDN) call.
delete in interface Interceptordelete in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
LdapDN name,
int modOp,
javax.naming.directory.Attributes mods)
throws javax.naming.NamingException
InterceptorPartition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call.
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
LdapDN name,
javax.naming.directory.ModificationItem[] mods)
throws javax.naming.NamingException
InterceptorPartition.modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call.
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public void modifyRn(NextInterceptor next,
LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
throws javax.naming.NamingException
InterceptorPartition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call.
modifyRn in interface InterceptormodifyRn in class BaseInterceptorjavax.naming.NamingException
public void move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName,
java.lang.String newRn,
boolean deleteOldRn)
throws javax.naming.NamingException
InterceptorPartition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call.
move in interface Interceptormove in class BaseInterceptorjavax.naming.NamingException
public void move(NextInterceptor next,
LdapDN oriChildName,
LdapDN newParentName)
throws javax.naming.NamingException
InterceptorPartition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call.
move in interface Interceptormove in class BaseInterceptorjavax.naming.NamingException
java.util.Set getSelectingSources(LdapDN name,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
javax.naming.NamingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||