|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.client.config.SpringConfig
public class SpringConfig
The application's Spring-based configuration. A global singleton
instance of this class is created by Spring during the creation of
the application's ApplicationContext, and it contains all
end-user configuration of the application.
| Constructor Summary | |
|---|---|
SpringConfig()
Creates a new application configuration, which becomes the global singleton. |
|
SpringConfig(ConnectionFactory incomingCF,
ConnectionFactory outgoingCF,
Collection<OrderModifier> inOrderModifiers)
Creates a new application configuration with the given properties. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
ConnectionFactory |
getIncomingConnectionFactory()
Returns the receiver's connection factory for incoming connections. |
Collection<OrderModifier> |
getOrderModifiers()
Get the orderModifiers value. |
ConnectionFactory |
getOutgoingConnectionFactory()
Returns the receiver's connection factory for outgoing connections. |
static SpringConfig |
getSingleton()
Returns the global singleton configuration. |
void |
setIncomingConnectionFactory(ConnectionFactory incomingCF)
Sets the receiver's connection factory for incoming connections to the given one. |
void |
setOrderModifiers(Collection<OrderModifier> inOrderModifiers)
Sets the orderModifiers value. |
void |
setOutgoingConnectionFactory(ConnectionFactory outgoingCF)
Sets the receiver's connection factory for outgoing connections to the given one. |
static void |
setSingleton(SpringConfig singleton)
Sets the global singleton configuration to the given one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringConfig()
public SpringConfig(ConnectionFactory incomingCF,
ConnectionFactory outgoingCF,
Collection<OrderModifier> inOrderModifiers)
throws I18NException
incomingCF - The connection factory for incoming connections.outgoingCF - The connection factory for outgoing connections.inOrderModifiers - a Collection<OrderModifier> value or null
I18NException| Method Detail |
|---|
public static void setSingleton(SpringConfig singleton)
singleton - The configuration. It may be null.public static SpringConfig getSingleton()
public void setIncomingConnectionFactory(ConnectionFactory incomingCF)
incomingCF - The factory.public ConnectionFactory getIncomingConnectionFactory()
public void setOutgoingConnectionFactory(ConnectionFactory outgoingCF)
outgoingCF - The factory.public ConnectionFactory getOutgoingConnectionFactory()
public Collection<OrderModifier> getOrderModifiers()
Collection<OrderModifier> valuepublic void setOrderModifiers(Collection<OrderModifier> inOrderModifiers)
a - Collection<OrderModifier> value
public void afterPropertiesSet()
throws I18NException
afterPropertiesSet in interface InitializingBeanI18NException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||