Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.postgresql.pljava.internal.Session
Method Summary | |
void |
|
void |
|
void |
|
Object |
|
ObjectPool |
|
String |
|
String |
|
void |
|
void |
|
void |
|
void |
|
public void addSavepointListener(SavepointListener listener)
Adds the specified listener to the list of listeners that will receive savepoint events.
- Specified by:
- addSavepointListener in interface Session
public void addTransactionListener(TransactionListener listener)
Adds the specified listener to the list of listeners that will receive transactional events.
- Specified by:
- addTransactionListener in interface Session
public void executeAsSessionUser(Connection conn, String statement) throws SQLException
- Specified by:
- executeAsSessionUser in interface Session
public Object getAttribute(String attributeName)
- Specified by:
- getAttribute in interface Session
public ObjectPool getObjectPool(Class cls)
- Specified by:
- getObjectPool in interface Session
public String getSessionUserName()
Return the session user.
- Specified by:
- getSessionUserName in interface Session
public String getUserName()
Return the current user.
- Specified by:
- getUserName in interface Session
public void removeAttribute(String attributeName)
- Specified by:
- removeAttribute in interface Session
public void removeSavepointListener(SavepointListener listener)
Removes the specified listener from the list of listeners that will receive savepoint events.
- Specified by:
- removeSavepointListener in interface Session
public void removeTransactionListener(TransactionListener listener)
Removes the specified listener from the list of listeners that will receive transactional events.
- Specified by:
- removeTransactionListener in interface Session
public void setAttribute(String attributeName, Object value)
- Specified by:
- setAttribute in interface Session