Interface Servers

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy

public interface Servers extends org.jvnet.hk2.config.ConfigBeanProxy
List of configured servers.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the list of currently configured server.
    default Server
    Return the server with the given name, or null if no such server exists.
    default List<Server>
    Return the list of Servers that reference a Node.

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent, getParent
  • Method Details

    • getServer

      List<Server> getServer()
      Return the list of currently configured server. Servers can be added or removed by using the returned List instance.
      Returns:
      the list of configured Server
    • getServer

      default Server getServer(String name)
      Return the server with the given name, or null if no such server exists.
      Parameters:
      name - the name of the server
      Returns:
      the Server object, or null if no such server
    • getServersOnNode

      default List<Server> getServersOnNode(Node node)
      Return the list of Servers that reference a Node.
      Parameters:
      node - Node to get servers that reference
      Returns:
      List of Server objects that reference the passed node. List will be of length 0 if no servers reference node.