org.apache.geronimo.transaction
Interface InstanceContext

All Known Implementing Classes:
DefaultInstanceContext

public interface InstanceContext

Version:
$Revision: 1.6 $ $Date: 2004/05/31 23:37:05 $

Method Summary
 void afterCommit(boolean status)
           
 void associate()
           
 void beforeCommit()
           
 void flush()
           
 Set getApplicationManagedSecurityResources()
           
 Map getConnectionManagerMap()
          IMPORTANT INVARIANT: this should always return a map, never null.
 Object getContainerId()
           
 Object getId()
           
 Set getUnshareableResources()
           
 void setId(Object id)
           
 

Method Detail

getId

public Object getId()

setId

public void setId(Object id)

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 Exception
Throws:
Exception

afterCommit

public void afterCommit(boolean status)
                 throws Exception
Throws:
Exception

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()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.