Interface Servers
-
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
public interface Servers extends org.jvnet.hk2.config.ConfigBeanProxyList of configured servers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServers.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Server>getServer()Return the list of currently configured server.ServergetServer(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
-
-
-
Method Detail
-
getServer
List<Server> getServer()
Return the list of currently configured server. Servers can be added or removed by using the returnedListinstance- 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
-
-