Class ServerConfigElement

java.lang.Object
org.springframework.extensions.config.element.ConfigElementAdapter
org.springframework.extensions.config.ServerConfigElement
All Implemented Interfaces:
Serializable, org.springframework.extensions.config.ConfigElement, ServerProperties

public class ServerConfigElement extends org.springframework.extensions.config.element.ConfigElementAdapter implements ServerProperties
Author:
David Caruana
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.springframework.extensions.config.element.ConfigElementAdapter

    attributes, children, name, value
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.extensions.config.ConfigElement
    combine(org.springframework.extensions.config.ConfigElement configElement)
     
    List<org.springframework.extensions.config.ConfigElement>
     
     
     
     
    void
    setHostName(String hostname)
     
    void
     
    void
    setScheme(String scheme)
     

    Methods inherited from class org.springframework.extensions.config.element.ConfigElementAdapter

    getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • ServerConfigElement

      public ServerConfigElement()
      Default constructor
    • ServerConfigElement

      public ServerConfigElement(String name)
      Constructor
      Parameters:
      name - Name of the element this config element represents
  • Method Details

    • getChildren

      public List<org.springframework.extensions.config.ConfigElement> getChildren()
      Specified by:
      getChildren in interface org.springframework.extensions.config.ConfigElement
      Overrides:
      getChildren in class org.springframework.extensions.config.element.ConfigElementAdapter
      See Also:
      • ConfigElementAdapter.getChildren()
    • combine

      public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
      Specified by:
      combine in interface org.springframework.extensions.config.ConfigElement
      Specified by:
      combine in class org.springframework.extensions.config.element.ConfigElementAdapter
      See Also:
      • ConfigElementAdapter.combine(org.springframework.extensions.config.ConfigElement)
    • getScheme

      public String getScheme()
      Specified by:
      getScheme in interface ServerProperties
      Returns:
      server scheme
    • setScheme

      public void setScheme(String scheme)
      Parameters:
      scheme - String
    • getHostName

      public String getHostName()
      Specified by:
      getHostName in interface ServerProperties
      Returns:
      server hostname
    • setHostName

      public void setHostName(String hostname)
      Parameters:
      hostname - String
    • getPort

      public Integer getPort()
      Specified by:
      getPort in interface ServerProperties
      Returns:
      server port
    • setPort

      public void setPort(Integer port)
      Parameters:
      port - Integer