|
||||||||||
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.
Constructor Summary | |
---|---|
EventService()
|
Method Summary | |
---|---|
void |
add(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
org.apache.directory.shared.ldap.filter.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,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
This method does nothing by default. |
void |
modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods)
Filters Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call. |
void |
modifyRn(NextInterceptor next,
org.apache.directory.shared.ldap.name.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,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.LdapDN newParentName)
Filters Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
move(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.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 Interceptor
init
in class BaseInterceptor
javax.naming.NamingException
public void addNamingListener(javax.naming.event.EventContext ctx, javax.naming.Name name, org.apache.directory.shared.ldap.filter.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, org.apache.directory.shared.ldap.name.LdapDN normName, javax.naming.directory.Attributes entry) throws javax.naming.NamingException
Interceptor
Partition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes)
call.
add
in interface Interceptor
add
in class BaseInterceptor
javax.naming.NamingException
public void delete(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
Partition.delete(org.apache.directory.shared.ldap.name.LdapDN)
call.
delete
in interface Interceptor
delete
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN name, int modOp, javax.naming.directory.Attributes mods) throws javax.naming.NamingException
Interceptor
Partition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes)
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN name, org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods) throws javax.naming.NamingException
Interceptor
Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[])
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modifyRn(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN name, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
Partition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean)
call.
modifyRn
in interface Interceptor
modifyRn
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN oriChildName, org.apache.directory.shared.ldap.name.LdapDN newParentName, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN oriChildName, org.apache.directory.shared.ldap.name.LdapDN newParentName) throws javax.naming.NamingException
Interceptor
Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |