@EachProperty(value="coherence.sessions",
primary="default")
public class SessionConfigurationBean
extends AbstractSessionConfigurationBean
SessionConfiguration bean that will be created for
each named session in the application configuration properties.
Sessions are configured with the coherence.session prefix,
for example coherence.session.foo configures a session named
foo.
The session name default is a special case that configures
the default session named Coherence.DEFAULT_NAME.
| Modifier | Constructor and Description |
|---|---|
protected |
SessionConfigurationBean(java.lang.String name)
Create a named
SessionConfigurationBean. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfig()
Get the Coherence cache configuration URI.
|
java.util.Optional<com.tangosol.net.SessionConfiguration> |
getConfiguration()
Returns the optional
SessionConfiguration that is provider provides. |
void |
setConfig(java.lang.String configUri)
Set the Coherence cache configuration URI.
|
getName, getPriority, getScopeName, getType, setName, setPriority, setScopeName, setType, setTypeprotected SessionConfigurationBean(@Parameter
java.lang.String name)
SessionConfigurationBean.name - the name for the sessionpublic java.util.Optional<com.tangosol.net.SessionConfiguration> getConfiguration()
SessionConfigurationProviderSessionConfiguration that is provider provides.SessionConfiguration that is provider provides
or an empty Optional if this provider cannot provide a
configurationpublic java.lang.String getConfig()
public void setConfig(java.lang.String configUri)
configUri - the Coherence cache configuration URI