com.ca.jcs.util
Class NullConnectorPersister
java.lang.Object
com.ca.jcs.util.NullConnectorPersister
- All Implemented Interfaces:
- ConnectorPersister
public class NullConnectorPersister
- extends Object
- implements ConnectorPersister
Stubbed out persister for clients which want a stateless JCS, although this
can also be achieved by leaving the persister set to null.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullConnectorPersister
public NullConnectorPersister()
deleteConnectorState
public void deleteConnectorState(String connTypeName,
String connName)
throws IOException
- Specified by:
deleteConnectorState in interface ConnectorPersister
- Throws:
IOException
deleteConnectorTypeState
public void deleteConnectorTypeState(String connTypeName)
throws IOException
- Specified by:
deleteConnectorTypeState in interface ConnectorPersister
- Throws:
IOException
getConnectorManager
public ConnectorManager getConnectorManager()
- Specified by:
getConnectorManager in interface ConnectorPersister
isObfuscatedSplitRequired
public boolean isObfuscatedSplitRequired()
- Description copied from interface:
ConnectorPersister
- If true tells connector manager to split off sensitive attributes and obfuscate their
values, otherwise return false if persister doesn't want this work done.
- Specified by:
isObfuscatedSplitRequired in interface ConnectorPersister
loadConnectorState
public ConnectorPersister.State loadConnectorState(String connTypeName,
String connName)
throws IOException
- Specified by:
loadConnectorState in interface ConnectorPersister
- Throws:
IOException
loadConnectorTypeState
public ConnectorPersister.State loadConnectorTypeState(String connTypeName)
throws IOException
- Specified by:
loadConnectorTypeState in interface ConnectorPersister
- Throws:
IOException
saveConnectorState
public void saveConnectorState(Connector conn,
ConnectorPersister.State state)
throws IOException
- Description copied from interface:
ConnectorPersister
- Save provided state for conn> If conn is a meta connector then its
MetaObjectClassMap can be accessed via its class mappings list and used to drive
specialized logic if required.
- Specified by:
saveConnectorState in interface ConnectorPersister
- Throws:
IOException- See Also:
ConnectorPersister.isObfuscatedSplitRequired().
saveConnectorTypeState
public void saveConnectorTypeState(ConnectorType connType,
ConnectorPersister.State state)
throws IOException
- Specified by:
saveConnectorTypeState in interface ConnectorPersister
- Throws:
IOException
setConnectorManager
public void setConnectorManager(ConnectorManager manager)
- Specified by:
setConnectorManager in interface ConnectorPersister
Created 2009-10-09 16:43 EST