org.virtualbox_4_3
Class IWebsessionManager
java.lang.Object
org.virtualbox_4_3.IUnknown
org.virtualbox_4_3.IWebsessionManager
public class IWebsessionManager
- extends IUnknown
Websession manager. This provides essential services
to webservice clients.
Interface ID: {DEA1B4C7-2DE3-418A-850D-7868617F7733}
Constructor Summary |
IWebsessionManager(java.lang.String wrapped,
org.virtualbox_4_3.jaxws.VboxPortType port)
|
Method Summary |
ISession |
getSessionObject(IVirtualBox refIVirtualBox)
Returns a managed object reference to the internal ISession object that was created
for this web service session when the client logged on. |
void |
logoff(IVirtualBox refIVirtualBox)
Logs off the client who has previously logged on with logon(String,String) and destroys all resources associated with the session (most importantly, all
managed objects created in the server while the session was active). |
IVirtualBox |
logon(java.lang.String username,
java.lang.String password)
Logs a new client onto the webservice and returns a managed object reference to
the IVirtualBox instance, which the client can then use as a basis to further
queries, since all calls to the VirtualBox API are based on the IVirtualBox
interface, in one way or the other. |
static IWebsessionManager |
queryInterface(IUnknown obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IWebsessionManager
public IWebsessionManager(java.lang.String wrapped,
org.virtualbox_4_3.jaxws.VboxPortType port)
queryInterface
public static IWebsessionManager queryInterface(IUnknown obj)
logon
public IVirtualBox logon(java.lang.String username,
java.lang.String password)
- Logs a new client onto the webservice and returns a managed object reference to
the IVirtualBox instance, which the client can then use as a basis to further
queries, since all calls to the VirtualBox API are based on the IVirtualBox
interface, in one way or the other.
getSessionObject
public ISession getSessionObject(IVirtualBox refIVirtualBox)
- Returns a managed object reference to the internal ISession object that was created
for this web service session when the client logged on.
- See Also:
ISession
logoff
public void logoff(IVirtualBox refIVirtualBox)
- Logs off the client who has previously logged on with
logon(String,String)
and destroys all resources associated with the session (most importantly, all
managed objects created in the server while the session was active).