com.ca.jcs.processor
Class AbstractBaseProcessor

java.lang.Object
  extended by com.ca.jcs.processor.AbstractBaseProcessor
Direct Known Subclasses:
AbstractAttributeStyleOpProcessor, AbstractMethodStyleOpProcessor, AbstractScriptStyleOpProcessor, ConnectorAttributesProcessor

public abstract class AbstractBaseProcessor
extends Object

Created this class so that we can mandate a constructor taking some fields we know every concrete baseConnector will need access to, for maximum clarity.


Field Summary
protected  String ldapExceptionPrefix
           
protected  Logger log
           
 
Constructor Summary
AbstractBaseProcessor(BaseConnector connector)
          Hang on to some important contextual values.
 
Method Summary
 BaseConnector getBaseConnector()
          Parent connector; most derived classes will want to keep a reference to the concrete connector instance as well (to save needing to down-cast continually).
protected  NamingException makeNamingException(String error, ResultCodeEnum code, Throwable cause)
          We have a helper so that NotesExceptions are chained and therefore available to RetryOpProcessorProxy, meaning only a small set of socket messages need to be configured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final Logger log

ldapExceptionPrefix

protected final String ldapExceptionPrefix
Constructor Detail

AbstractBaseProcessor

public AbstractBaseProcessor(BaseConnector connector)
Hang on to some important contextual values.

Parameters:
connector - Parent baseConnector.
Method Detail

getBaseConnector

public BaseConnector getBaseConnector()
Parent connector; most derived classes will want to keep a reference to the concrete connector instance as well (to save needing to down-cast continually).

Returns:
Parent connector.

makeNamingException

protected NamingException makeNamingException(String error,
                                              ResultCodeEnum code,
                                              Throwable cause)
We have a helper so that NotesExceptions are chained and therefore available to RetryOpProcessorProxy, meaning only a small set of socket messages need to be configured.



Created 2011-07-14 13:27 EST