public class SpringSessionSettings extends LazyBean
The settings may be associated with zero or more session
descriptors SpringSessionDescriptor, which inherit default
session parameter values from the settings.
The log factory class may be specified via the extension
parameter LOG_FACTORY_CLASS_PARAM; if it is not
specified, a SLF4JLogFactory is used.
The message store factory class may be specified via the
extension parameter MESSAGE_STORE_FACTORY_CLASS_PARAM; if
it is not specified, a FileStoreFactory is used.
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_FACTORY_CLASS_PARAM
The parameter name for the QuickFIX/J log factory class
extension parameter.
|
static String |
MESSAGE_STORE_FACTORY_CLASS_PARAM
The parameter name for the QuickFIX/J message store factory
class extension parameter.
|
| Constructor and Description |
|---|
SpringSessionSettings() |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,Object> |
getDefaults()
Returns the receiver's defaults.
|
List<SpringSessionDescriptor> |
getDescriptors()
Returns the receiver's session descriptors.
|
LogFactory |
getQLogFactory()
Returns the receiver's QuickFIX/J log factory.
|
MessageStoreFactory |
getQMessageStoreFactory()
Returns the receiver's QuickFIX/J message store factory.
|
SessionSettings |
getQSettings()
Returns the receiver's QuickFIX/J session settings.
|
protected void |
process()
Processes the receiver.
|
void |
setDefaults(Map<Object,Object> defaults)
Sets the receiver's defaults to the given ones.
|
void |
setDescriptors(List<SpringSessionDescriptor> descriptors)
Sets the receiver's session descriptors to the given ones.
|
assertNotProcessed, ensureProcessedpublic static final String LOG_FACTORY_CLASS_PARAM
public static final String MESSAGE_STORE_FACTORY_CLASS_PARAM
public void setDefaults(Map<Object,Object> defaults)
defaults - The defaults. It may be null.public Map<Object,Object> getDefaults()
public void setDescriptors(List<SpringSessionDescriptor> descriptors)
descriptors - The descriptors. It may be null.public List<SpringSessionDescriptor> getDescriptors()
public SessionSettings getQSettings()
public LogFactory getQLogFactory()
public MessageStoreFactory getQMessageStoreFactory()
protected void process()
LazyBeanLazyBean.ensureProcessed().Copyright © 2015. All Rights Reserved.