public class IManagedObjectRef extends IUnknown
release()
or by logging off from
the webservice (IWebsessionManager.logoff(org.virtualbox_6_1.IVirtualBox)
), which releases
all objects created during the webservice session.
Whenever a method call of the VirtualBox API returns a COM object, the
webservice representation of that method will instead return a
managed object reference, which can then be used to invoke methods
on that object.
Interface ID: {9474D09D-2313-46DE-B568-A42B8718E8ED}Constructor and Description |
---|
IManagedObjectRef(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInterfaceName()
Returns the name of the interface that this managed object represents,
for example, "IMachine", as a string.
|
static IManagedObjectRef |
queryInterface(IUnknown obj) |
void |
release()
Releases this managed object reference and frees the resources that
were allocated for it in the webservice server process.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IManagedObjectRef(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
public static IManagedObjectRef queryInterface(IUnknown obj)
public java.lang.String getInterfaceName()
public void release()