org.apache.directory.server.core.interceptor.context
Class EmptyOperationContext

java.lang.Object
  extended by org.apache.directory.server.core.interceptor.context.AbstractOperationContext
      extended by org.apache.directory.server.core.interceptor.context.EmptyOperationContext
All Implemented Interfaces:
OperationContext
Direct Known Subclasses:
AddContextPartitionOperationContext

public abstract class EmptyOperationContext
extends AbstractOperationContext

An EmptySuffix context used for Interceptors. It contains no data, and mask the DN in AbstractOperationContext

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext
authorizedPrincipal, byPassed, dn, EMPTY_CONTROLS, entry, next, previous, requestControls, responseControls, session
 
Constructor Summary
EmptyOperationContext(CoreSession session)
          Creates a new instance of EmptyOperationContext.
 
Method Summary
 void setDn(org.apache.directory.shared.ldap.name.LdapDN dn)
          Set the context DN
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext
add, addRequestControl, addRequestControls, addResponseControl, delete, getByPassed, getDn, getEffectivePrincipal, getEntry, getFirstOperation, getLastOperation, getName, getNextOperation, getPreviousOperation, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, hasBypass, hasEntry, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, isBypassed, isFirstOperation, lookup, lookup, modify, newLookupContext, setAuthorizedPrincipal, setByPassed, setEntry, setNextOperation, setPreviousOperation, setRequestControls, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyOperationContext

public EmptyOperationContext(CoreSession session)
Creates a new instance of EmptyOperationContext.

Method Detail

setDn

public void setDn(org.apache.directory.shared.ldap.name.LdapDN dn)
Set the context DN

Specified by:
setDn in interface OperationContext
Overrides:
setDn in class AbstractOperationContext
Parameters:
dn - The DN to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.