com.jniwrapper.win32.process
Class Process.ProcessResource

java.lang.Object
  extended bycom.jniwrapper.win32.process.Process.ProcessResource
All Implemented Interfaces:
com.jniwrapper.NativeResource
Enclosing class:
Process

protected static class Process.ProcessResource
extends java.lang.Object
implements com.jniwrapper.NativeResource

This class responds for destroying a native resource when the instance is collected by garbage-collector.


Constructor Summary
Process.ProcessResource(long handle, boolean autoDelete)
           
 
Method Summary
 void release()
          Frees a process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Process.ProcessResource

public Process.ProcessResource(long handle,
                               boolean autoDelete)
Method Detail

release

public void release()
             throws java.lang.Throwable
Frees a process.

Specified by:
release in interface com.jniwrapper.NativeResource
Throws:
java.lang.Throwable