Interface Servers
-
- All Superinterfaces:
ConfigBeanProxy
public interface Servers extends ConfigBeanProxy
List of configured servers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Servers.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Server>
getServer()
Return the list of currently configured server.Server
getServer(String name)
Return the server with the given name, or null if no such server exists.List<Server>
getServersOnNode(Node node)
Return the list of Servers that reference a Node-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Method Detail
-
getServer
List<Server> getServer()
Return the list of currently configured server. Servers can be added or removed by using the returnedList
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.
-
-