Class AbstractSessionConfigurationBean

java.lang.Object
com.oracle.coherence.spring.configuration.session.AbstractSessionConfigurationBean
All Implemented Interfaces:
SessionConfigurationProvider
Direct Known Subclasses:
GrpcSessionConfigurationBean, SessionConfigurationBean

public abstract class AbstractSessionConfigurationBean extends Object implements SessionConfigurationProvider
Since:
3.0
Author:
Gunnar Hillert
See Also:
  • SessionConfiguration
  • Field Details

  • Constructor Details

  • Method Details

    • setName

      public void setName(String name)
      Set the name of this configuration.
      Parameters:
      name - the name of this configuration
    • getName

      public String getName()
      Return the name of this configuration.
      Returns:
      the name of this configuration
    • setScopeName

      public void setScopeName(String scopeName)
      Set the scope name for this configuration.
      Parameters:
      scopeName - the scope name for this configuration
    • getScopeName

      public String getScopeName()
      Return the scope name for this configuration.
      Returns:
      the scope name for this configuration
    • setPriority

      public void setPriority(int priority)
      Set the priority for this configuration.

      Sessions are started lowest priority first and closed in reverse order.

      Parameters:
      priority - the priority for this configuration
      See Also:
      • SessionConfiguration.getPriority()
    • getPriority

      public int getPriority()
      Returns the priority of this configuration.
      Returns:
      the priority of this configuration
    • setType

      public void setType(SessionType sessionType)
      Set the priority of this configuration.
      Parameters:
      sessionType - the type of this Session
    • getType

      public SessionType getType()
      Returns the type of the session.
      Returns:
      the type of this configuration