com.ca.jcs.processor
Class AbstractBaseProcessor
java.lang.Object
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.
|
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 |
log
protected final Logger log
ldapExceptionPrefix
protected final String ldapExceptionPrefix
AbstractBaseProcessor
public AbstractBaseProcessor(BaseConnector connector)
- Hang on to some important contextual values.
- Parameters:
connector - Parent baseConnector.
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