|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.flex.config.FlexConfigurationManager
public class FlexConfigurationManager
Implementation of ConfigurationManager
that uses Spring's ResourceLoader
abstraction for resolving
BlazeDS xml configuration files.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CONFIG_PATH
|
Fields inherited from interface flex.messaging.config.ConfigurationManager |
---|
LOG_CATEGORY |
Constructor Summary | |
---|---|
FlexConfigurationManager()
Create a new FlexConfigurationManager using the default configuration path. |
|
FlexConfigurationManager(org.springframework.core.io.ResourceLoader resourceLoader,
java.lang.String configurationPath)
Create a new FlexConfigurationManager with the given ResourceLoader and configuration path. |
Method Summary | |
---|---|
flex.messaging.config.MessagingConfiguration |
getMessagingConfiguration(javax.servlet.ServletConfig servletConfig)
Parses the BlazeDS config files and returns a populated MessagingConfiguration |
void |
reportTokens()
|
void |
setConfigurationParser(flex.messaging.config.ConfigurationParser parser)
Sets the parser to be used in building a MessagingConfiguration. |
void |
setConfigurationPath(java.lang.String configurationPath)
Set the path for the BlazeDS XML configuration file. |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
Set the ResourceLoader to be used to load BlazeDS XML configuration resources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_CONFIG_PATH
Constructor Detail |
---|
public FlexConfigurationManager()
public FlexConfigurationManager(org.springframework.core.io.ResourceLoader resourceLoader, java.lang.String configurationPath)
ResourceLoader
and configuration path.
resourceLoader
- the ResourceLoader
to be used in loading the BlazeDS config files.configurationPath
- the path to the top-level BlazeDS config file (usually services-config.xml)Method Detail |
---|
public flex.messaging.config.MessagingConfiguration getMessagingConfiguration(javax.servlet.ServletConfig servletConfig)
getMessagingConfiguration
in interface flex.messaging.config.ConfigurationManager
servletConfig
- the servlet config for the web applicationpublic void reportTokens()
reportTokens
in interface flex.messaging.config.ConfigurationManager
public void setConfigurationParser(flex.messaging.config.ConfigurationParser parser)
parser
- the configuration parser to be usedpublic void setConfigurationPath(java.lang.String configurationPath)
configurationPath
- the path for the configuration filepublic void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
ResourceLoader
to be used to load BlazeDS XML configuration resources
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
resourceLoader
- the ResourceLoader
for loading configuration resources
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |