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 TypeMethodDescriptionReturn the list of currently configured server.default ServerReturn the server with the givenname, ornullif no such server exists.getServersOnNode(Node node) Return the list of Servers that reference aNode.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Method Details
-
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
Return the server with the givenname, ornullif no such server exists.- Parameters:
name- the name of the server- Returns:
- the
Serverobject, ornullif no such server
-
getServersOnNode
Return the list of Servers that reference aNode.- Parameters:
node- Node to get servers that reference- Returns:
- List of Server objects that reference the passed node.
List will be of length
0if no servers reference node.
-