org.postgresql.pljava.internal
Class JavaWrapper
java.lang.Object
org.postgresql.pljava.internal.JavaWrapper
public abstract class JavaWrapper
extends java.lang.Object
JavaWrapper(long pointer) - Creates an instance of this class that will be attached to a native
structure represented by pointer.
|
protected void | _free(long pointer) - Calls the C function pfree() with the given pointer as an argument.
|
void | finalize()
|
long | getNativePointer() - Returns the native pointer
|
JavaWrapper
protected JavaWrapper(long pointer)
Creates an instance of this class that will be attached to a native
structure represented by pointer. This constructor must only be called
from native code.
pointer
- The wapped pointer.
_free
protected void _free(long pointer)
Calls the C function pfree() with the given pointer as an argument.
Subclasses may override this method if special handling is needed when
freeing up the object.
pointer
- The pointer to free.
finalize
public void finalize()
getNativePointer
public final long getNativePointer()
Returns the native pointer
Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
Distributed under the terms shown in COPYRIGHT