org.postgresql.pljava.jdbc
Class Invocation

java.lang.Object
  extended by org.postgresql.pljava.jdbc.Invocation

public class Invocation
extends Object

Author:
Thomas Hallgren

Method Summary
static Invocation current()
           
 int getNestingLevel()
           
 void onExit()
          Called from the backend when the invokation exits.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNestingLevel

public int getNestingLevel()
Returns:
The nesting level of this invocation

onExit

public void onExit()
            throws SQLException
Called from the backend when the invokation exits. Should not be invoked any other way.

Throws:
SQLException

current

public static Invocation current()
Returns:
The current invocation