Interface Servers

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

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

      Nested Classes 
      Modifier and Type Interface Description
      static class  Servers.Duck  
    • Method Detail

      • 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

        @DuckTyped
        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

        @DuckTyped
        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.