Class ServerConfigElement

  • All Implemented Interfaces:
    java.io.Serializable, org.springframework.extensions.config.ConfigElement, ServerProperties

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONFIG_ELEMENT_ID  
      • Fields inherited from class org.springframework.extensions.config.element.ConfigElementAdapter

        attributes, children, name, value
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.extensions.config.ConfigElement combine​(org.springframework.extensions.config.ConfigElement configElement)  
      java.util.List<org.springframework.extensions.config.ConfigElement> getChildren()  
      java.lang.String getHostName()  
      java.lang.Integer getPort()  
      java.lang.String getScheme()  
      void setHostName​(java.lang.String hostname)  
      void setPort​(java.lang.Integer port)  
      void setScheme​(java.lang.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 Detail

      • CONFIG_ELEMENT_ID

        public static final java.lang.String CONFIG_ELEMENT_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServerConfigElement

        public ServerConfigElement()
        Default constructor
      • ServerConfigElement

        public ServerConfigElement​(java.lang.String name)
        Constructor
        Parameters:
        name - Name of the element this config element represents
    • Method Detail

      • getChildren

        public java.util.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 java.lang.String getScheme()
        Specified by:
        getScheme in interface ServerProperties
        Returns:
        server scheme
      • setScheme

        public void setScheme​(java.lang.String scheme)
        Parameters:
        scheme - String
      • getHostName

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

        public void setHostName​(java.lang.String hostname)
        Parameters:
        hostname - String
      • getPort

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

        public void setPort​(java.lang.Integer port)
        Parameters:
        port - Integer