|
OpenNebula Cloud API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opennebula.client.Pool org.opennebula.client.user.UserPool
public class UserPool
This class represents an OpenNebula user pool. It also offers static XML-RPC call wrappers.
Field Summary |
---|
Fields inherited from class org.opennebula.client.Pool |
---|
client, elementName, poolElements |
Constructor Summary | |
---|---|
UserPool(Client client)
Creates a new user pool |
Method Summary | |
---|---|
PoolElement |
factory(org.w3c.dom.Node node)
The factory method returns a suitable PoolElement object from an XML node. |
OneResponse |
info()
Loads the xml representation of the user pool. |
java.util.Iterator<User> |
iterator()
|
Methods inherited from class org.opennebula.client.Pool |
---|
getLength, item, processInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserPool(Client client)
client
- XML-RPC Client.Method Detail |
---|
public PoolElement factory(org.w3c.dom.Node node)
Pool
factory
in class Pool
node
- XML Dom node to build the PoolElement from
public OneResponse info()
public java.util.Iterator<User> iterator()
iterator
in interface java.lang.Iterable<User>
|
OpenNebula Cloud API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |