Class AbstractSessionConfigurationBean
java.lang.Object
com.oracle.coherence.spring.configuration.session.AbstractSessionConfigurationBean
- All Implemented Interfaces:
- SessionConfigurationProvider
- Direct Known Subclasses:
- SessionConfigurationBean
public abstract class AbstractSessionConfigurationBean
extends Object
implements SessionConfigurationProvider
A base 
SessionConfigurationProvider.- Since:
- 3.0
- Author:
- Gunnar Hillert
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreate aAbstractSessionConfigurationBean.protectedCreate a namedAbstractSessionConfigurationBean.
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Return the name of this configuration.intReturns the priority of this configuration.Return the scope name for this configuration.getType()Returns the type of the session.voidSet the name of this configuration.voidsetPriority(int priority) Set the priority for this configuration.voidsetScopeName(String scopeName) Set the scope name for this configuration.voidsetType(SessionType sessionType) Set the priority of this configuration.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.coherence.spring.configuration.session.SessionConfigurationProvidergetConfiguration
- 
Field Details- 
DEFAULT_SESSION_NAMEName of the default session.- See Also:
 
 
- 
- 
Constructor Details- 
AbstractSessionConfigurationBeanprotected AbstractSessionConfigurationBean()Create aAbstractSessionConfigurationBean. It will use te default session by default.
- 
AbstractSessionConfigurationBeanCreate a namedAbstractSessionConfigurationBean.- Parameters:
- name- must not be empty
 
 
- 
- 
Method Details- 
setNameSet the name of this configuration.- Parameters:
- name- the name of this configuration
 
- 
getNameReturn the name of this configuration.- Returns:
- the name of this configuration
 
- 
setScopeNameSet the scope name for this configuration.- Parameters:
- scopeName- the scope name for this configuration
 
- 
getScopeNameReturn the scope name for this configuration.- Returns:
- the scope name for this configuration
 
- 
setPrioritypublic void setPriority(int priority) Set the priority for this configuration.Sessionsare started lowest priority first and closed in reverse order.- Parameters:
- priority- the priority for this configuration
- See Also:
 
- 
getPrioritypublic int getPriority()Returns the priority of this configuration.- Returns:
- the priority of this configuration
 
- 
setTypeSet the priority of this configuration.- Parameters:
- sessionType- the type of this- Session
 
- 
getTypeReturns the type of the session.- Returns:
- the type of this configuration
 
 
-