JavaWrapper
Date: 2010-07-30

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.postgresql.pljava.internal
Class JavaWrapper

    java.lang.Object
      org.postgresql.pljava.internal.JavaWrapper

Direct Known Subclasses:
  ErrorData, HeapTupleHeader, LargeObject, Relation, SQLInputFromTuple, TriggerData, Tuple, TupleDesc

    public abstract class JavaWrapper

extends java.lang.Object

Constructor Summary
`protected` | `JavaWrapper(long pointer)` Creates an instance of this class that will be attached to a native structure represented by pointer.

Method Summary
`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

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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.

  Parameters:
    `pointer` - The wapped pointer.

Method Detail

### finalize

    public void finalize()

  Overrides:
    `finalize` in class `java.lang.Object`

### getNativePointer

    public final long getNativePointer()

  Returns the native 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.

  Parameters:
    `pointer` - The pointer to free.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \ Distributed under the terms shown in COPYRIGHT