|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.spring.LazyBean
org.marketcetera.util.quickfix.SpringSessionSettings
public class SpringSessionSettings
A Spring-aware QuickFIX/J session settings. It also offers these extensions:
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.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SpringSessionSettings()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.marketcetera.util.spring.LazyBean |
|---|
assertNotProcessed, ensureProcessed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LOG_FACTORY_CLASS_PARAM
public static final String MESSAGE_STORE_FACTORY_CLASS_PARAM
| Constructor Detail |
|---|
public SpringSessionSettings()
| Method Detail |
|---|
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().
process in class LazyBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||