Package com.tangosol.net
Class WrapperSessionConfiguration
java.lang.Object
com.tangosol.net.WrapperSessionConfiguration
- All Implemented Interfaces:
 SessionConfiguration,Comparable<SessionConfiguration>
A 
SessionConfiguration that delegates to another SessionConfiguration.- Since:
 - 22.06.2
 - Author:
 - Jonathan Knight 2022.08.25
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.net.SessionConfiguration
SessionConfiguration.Builder, SessionConfiguration.ConfigurableCacheFactorySessionConfig - 
Field Summary
Fields inherited from interface com.tangosol.net.SessionConfiguration
DEFAULT_PRIORITY - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SessionConfiguration other) Order SessionConfiguration by priority, the lowest priority comes first.Return the optionalClassLoaderto use for the session.Return the optional configuration file URI for a session that wraps aConfigurableCacheFactory.Return the interceptors to add to the session.getMode()Return an optionalCoherence.Modethat the session should use to set thecoherence.clientproperty.getName()Return the name of theSession.Returns an optionalParameterResolverto use to resolve configuration parameters when creating the session.intReturns the priority for this configuration.Return the scope name of theSession.booleanReturntrueif this configuration is enabled and should be used to configure a session.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.tangosol.net.SessionConfiguration
sessionProvider 
- 
Constructor Details
- 
WrapperSessionConfiguration
Create aWrapperSessionConfiguration.- Parameters:
 delegate- theSessionConfigurationto delegate to- Throws:
 NullPointerException- if the delegate isnull
 
 - 
 - 
Method Details
- 
getName
Description copied from interface:SessionConfigurationReturn the name of theSession.If not specifically set the
Coherence.DEFAULT_NAMEwill be used.A session name must be unique.
- Specified by:
 getNamein interfaceSessionConfiguration- Returns:
 - the name of the 
Session 
 - 
getScopeName
Description copied from interface:SessionConfigurationReturn the scope name of theSession.If not specifically set, the name will default to the
SessionConfiguration.getName()value. If theSessionConfiguration.getName()isCoherence.DEFAULT_NAMEno scope will be used.- Specified by:
 getScopeNamein interfaceSessionConfiguration- Returns:
 - the scope name of the 
Session 
 - 
getInterceptors
Description copied from interface:SessionConfigurationReturn the interceptors to add to the session.- Specified by:
 getInterceptorsin interfaceSessionConfiguration- Returns:
 - the interceptors to add to the session
 
 - 
isEnabled
public boolean isEnabled()Description copied from interface:SessionConfigurationReturntrueif this configuration is enabled and should be used to configure a session.- Specified by:
 isEnabledin interfaceSessionConfiguration- Returns:
 trueif this configuration is enabled
 - 
getConfigUri
Description copied from interface:SessionConfigurationReturn the optional configuration file URI for a session that wraps aConfigurableCacheFactory.- Specified by:
 getConfigUriin interfaceSessionConfiguration- Returns:
 - the optional configuration file URI for a session that
         wraps a 
ConfigurableCacheFactory 
 - 
getClassLoader
Description copied from interface:SessionConfigurationReturn the optionalClassLoaderto use for the session.- Specified by:
 getClassLoaderin interfaceSessionConfiguration- Returns:
 - the optional 
ClassLoaderto use for the session 
 - 
getPriority
public int getPriority()Description copied from interface:SessionConfigurationReturns the priority for this configuration.Sessions will be created in priority order, the highest priority first.
The default priority is zero (see
SessionConfiguration.DEFAULT_PRIORITY).- Specified by:
 getPriorityin interfaceSessionConfiguration- Returns:
 - the priority for this configuration
 
 - 
compareTo
Description copied from interface:SessionConfigurationOrder SessionConfiguration by priority, the lowest priority comes first.- Specified by:
 compareToin interfaceComparable<SessionConfiguration>- Specified by:
 compareToin interfaceSessionConfiguration- Parameters:
 other- the configuration to compare to- Returns:
 - compare this configuration with the specified configuration ordering by priority
 
 - 
getParameterResolver
Description copied from interface:SessionConfigurationReturns an optionalParameterResolverto use to resolve configuration parameters when creating the session.- Specified by:
 getParameterResolverin interfaceSessionConfiguration- Returns:
 - an optional 
ParameterResolverto use to resolve configuration parameters 
 - 
getMode
Description copied from interface:SessionConfigurationReturn an optionalCoherence.Modethat the session should use to set thecoherence.clientproperty.- Specified by:
 getModein interfaceSessionConfiguration- Returns:
 - an optional 
Coherence.Modethat the session should use to set thecoherence.clientproperty 
 - 
toString
 
 -