JuggerNET Runtime Library v3.6.54.0
3.6.54.0
|
The interface implemented by all JVMs. More...
Public Member Functions | |
long | Attach () |
Attaches the current thread to the JVM. This method is not exposed to COM to prevent overloading issues. More... | |
long | Attach (JavaProxy threadGroup) |
Attaches the current thread to the JVM and adds it to the specified threadgroup. This method is not exposed to COM to prevent overloading issues. More... | |
long | Attach (JavaProxy threadGroup, string name) |
Attaches the current thread to the JVM and adds it to the specified threadgroup with the specified threadname. This method is not exposed to COM to prevent overloading issues. More... | |
long | Attach (JavaProxy threadGroup, string name, bool bAsDaemon) |
Attaches the current thread to the JVM and adds it to the specified threadgroup with the specified threadname and possibly as a daemon thread. More... | |
long | Attach (long env) |
Attaches an already created Java thread to the runtime. This method is not exposed to COM to prevent overloading issues. More... | |
void | Detach () |
Detaches the current thread from the JVM. More... | |
void | Detach (long env) |
Detaches the current thread from the JVM. This method is not exposed to COM to prevent overloading issues. More... | |
void | Destroy () |
Attempts to unload the JVM. More... | |
Properties | |
long | Ptr [get] |
A property representing the loaded JVM. More... | |
long | FreeMemory [get] |
A property representing the free memory in the JVM. More... | |
long | MaxMemory [get] |
A property representing the maximally available memory for the JVM. More... | |
long | TotalMemory [get] |
A property representing the memory used by the JVM. More... | |
The interface implemented by all JVMs.
long Codemesh.JuggerNET.IJvm.Attach | ( | ) |
Attaches the current thread to the JVM. This method is not exposed to COM to prevent overloading issues.
long
representing the local environment.Implemented in Codemesh.JuggerNET.Jvm.
long Codemesh.JuggerNET.IJvm.Attach | ( | JavaProxy | threadGroup | ) |
Attaches the current thread to the JVM and adds it to the specified threadgroup. This method is not exposed to COM to prevent overloading issues.
threadGroup | the thread group to which to attach the thread. May be null . |
long
representing the local environment.Implemented in Codemesh.JuggerNET.Jvm.
long Codemesh.JuggerNET.IJvm.Attach | ( | JavaProxy | threadGroup, |
string | name | ||
) |
Attaches the current thread to the JVM and adds it to the specified threadgroup with the specified threadname. This method is not exposed to COM to prevent overloading issues.
threadGroup | the thread group to which to attach the thread. May be null . |
name | the name under which the thread is known in Java. May be null . |
long
representing the local environment.Implemented in Codemesh.JuggerNET.Jvm.
long Codemesh.JuggerNET.IJvm.Attach | ( | JavaProxy | threadGroup, |
string | name, | ||
bool | bAsDaemon | ||
) |
Attaches the current thread to the JVM and adds it to the specified threadgroup with the specified threadname and possibly as a daemon thread.
threadGroup | the thread group to which to attach the thread. May be null . |
name | the name under which the thread is known in Java. May be null . |
bAsDaemon | true if the thread should become a background thread that does not prevent the JVM from exiting even if it is still running. |
long
representing the local environment.Implemented in Codemesh.JuggerNET.Jvm.
long Codemesh.JuggerNET.IJvm.Attach | ( | long | env | ) |
Attaches an already created Java thread to the runtime. This method is not exposed to COM to prevent overloading issues.
env | the local environment. |
long
representing the local environment.Implemented in Codemesh.JuggerNET.Jvm.
void Codemesh.JuggerNET.IJvm.Destroy | ( | ) |
Attempts to unload the JVM.
You should not assume that you can reload another JVM after you have called this method to unload a JVM.
Implemented in Codemesh.JuggerNET.Jvm.
void Codemesh.JuggerNET.IJvm.Detach | ( | ) |
Detaches the current thread from the JVM.
Implemented in Codemesh.JuggerNET.Jvm.
void Codemesh.JuggerNET.IJvm.Detach | ( | long | env | ) |
Detaches the current thread from the JVM. This method is not exposed to COM to prevent overloading issues.
env | the local environment. |
Implemented in Codemesh.JuggerNET.Jvm.
|
get |
A property representing the free memory in the JVM.
|
get |
A property representing the maximally available memory for the JVM.
|
get |
A property representing the loaded JVM.
|
get |
A property representing the memory used by the JVM.