org.apache.geronimo.transaction
Interface InstanceContext
- All Known Implementing Classes:
- DefaultInstanceContext
- public interface InstanceContext
- Version:
- $Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
getId
public Object getId()
getContainerId
public Object getContainerId()
associate
public void associate()
throws Throwable
- Throws:
Throwable
flush
public void flush()
throws Throwable
- Throws:
Throwable
beforeCommit
public void beforeCommit()
throws Throwable
- Throws:
Throwable
afterCommit
public void afterCommit(boolean status)
throws Throwable
- Throws:
Throwable
unassociate
public void unassociate()
throws Throwable
- Throws:
Throwable
getConnectionManagerMap
public Map getConnectionManagerMap()
- IMPORTANT INVARIANT: this should always return a map, never null.
- Returns:
- map of ConnectionManager to (list of ) managed connection info objects.
getUnshareableResources
public Set getUnshareableResources()
getApplicationManagedSecurityResources
public Set getApplicationManagedSecurityResources()
isInCall
public boolean isInCall()
enter
public void enter()
exit
public void exit()
isDead
public boolean isDead()
die
public void die()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.