public class RecordStoreConnectionRegistry extends AbstractConnectionRegistry<RecordStoreConnection>
| Modifier | Constructor and Description |
|---|---|
protected |
RecordStoreConnectionRegistry(RecordStoreConnectionManager connectionManager,
String name,
boolean visible) |
protected |
RecordStoreConnectionRegistry(RecordStoreConnectionManager connectionManager,
String name,
org.springframework.core.io.Resource resource) |
|
RecordStoreConnectionRegistry(String name) |
|
RecordStoreConnectionRegistry(String name,
org.springframework.core.io.Resource resource,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(Map<String,Object> config) |
void |
addConnection(RecordStoreConnection connection) |
void |
addConnection(String name,
RecordStore recordStore) |
static RecordStoreConnectionRegistry |
getForThread() |
protected RecordStoreConnection |
loadConnection(File recordStoreFile) |
boolean |
removeConnection(RecordStoreConnection connection) |
static RecordStoreConnectionRegistry |
setForThread(RecordStoreConnectionRegistry registry) |
addConnection, createConnection, doInit, getConections, getConnection, getConnectionFile, getConnectionIndex, getConnectionManager, getConnectionNames, getDirectory, getFileExtension, getName, getPropertyChangeSupport, init, isReadOnly, isVisible, propertyChange, removeConnection, removeConnection, save, saveAs, saveAs, setConnectionManager, setDirectory, setReadOnly, setVisible, toStringprotected RecordStoreConnectionRegistry(RecordStoreConnectionManager connectionManager, String name, boolean visible)
protected RecordStoreConnectionRegistry(RecordStoreConnectionManager connectionManager, String name, org.springframework.core.io.Resource resource)
public RecordStoreConnectionRegistry(String name)
public RecordStoreConnectionRegistry(String name, org.springframework.core.io.Resource resource, boolean readOnly)
public static RecordStoreConnectionRegistry getForThread()
public static RecordStoreConnectionRegistry setForThread(RecordStoreConnectionRegistry registry)
public void addConnection(RecordStoreConnection connection)
public void addConnection(String name, RecordStore recordStore)
protected RecordStoreConnection loadConnection(File recordStoreFile)
loadConnection in class AbstractConnectionRegistry<RecordStoreConnection>public boolean removeConnection(RecordStoreConnection connection)
removeConnection in class AbstractConnectionRegistry<RecordStoreConnection>Copyright © 2015 Revolution Systems Inc.. All rights reserved.