com.ca.jcs.util
Class NullConnectorPersister
java.lang.Object
com.ca.jcs.ConnectorPersister
com.ca.jcs.util.NullConnectorPersister
public class NullConnectorPersister
- extends 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 com.ca.jcs.ConnectorPersister |
addObserver, deleteConnectorState, deleteConnectorTypeState, isEnabled, notifyStateDeleted, notifyStateSaved, removeObserver, saveConnectorState, saveConnectorTypeState, setConnectorManager, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullConnectorPersister
public NullConnectorPersister()
isObfuscatedSplitRequired
public boolean isObfuscatedSplitRequired()
- Overrides:
isObfuscatedSplitRequired in class ConnectorPersister
- Returns:
- true if the connector manager should split off sensitive attributes and obfuscate
their values, otherwise false.
loadConnectorState
public ConnectorPersister.State loadConnectorState(String connTypeName,
String connName)
throws IOException
- Description copied from class:
ConnectorPersister
- Load a connector state from persistent storage.
- Specified by:
loadConnectorState in class ConnectorPersister
- Parameters:
connTypeName - the connector type name.connName - the connector name.
- Returns:
- an initialised state instance.
- Throws:
IOException
loadConnectorTypeState
public ConnectorPersister.State loadConnectorTypeState(String connTypeName)
throws IOException
- Description copied from class:
ConnectorPersister
- Load a connector type state from persistent storage.
- Specified by:
loadConnectorTypeState in class ConnectorPersister
- Parameters:
connTypeName - the connector type name.
- Returns:
- an initialised state instance.
- Throws:
IOException
getConnectorTypeList
public List<String> getConnectorTypeList()
throws IOException
- Description copied from class:
ConnectorPersister
- Method to get the names of all persisted connector types.
- Specified by:
getConnectorTypeList in class ConnectorPersister
- Returns:
- list of connector type names.
- Throws:
IOException
getConnectorList
public List<String> getConnectorList(String connTypeName)
throws IOException
- Description copied from class:
ConnectorPersister
- Method to get the names of all persisted connectors for a given connector type.
- Specified by:
getConnectorList in class ConnectorPersister
- Parameters:
connTypeName - the connector type name
- Returns:
- list of connector names.
- Throws:
IOException
Created 2011-07-14 13:27 EST