org.objectweb.jonas.jndi.checker
Interface IResourceCheckerManager

All Superinterfaces:
IResourceChecker
All Known Implementing Classes:
ResourceCheckerManager

public interface IResourceCheckerManager
extends IResourceChecker

Manage the resources that can be checked during a call on the same thread.

Author:
Florent Benoit

Method Summary
 void delistAll()
          Delist all resources that are enlisted.
 void delistResource(IResourceChecker resource)
          Delist a resource.
 void enlistResource(IResourceChecker resource)
          Enlist a new resource.
 java.util.List getResources()
           
 void pop()
          Pop the list on the stacK.
 void push()
          Push a new list on the stack.
 
Methods inherited from interface org.objectweb.jonas.jndi.checker.IResourceChecker
detect
 

Method Detail

enlistResource

public void enlistResource(IResourceChecker resource)
Enlist a new resource.

Parameters:
resource - the given resource that can be checked.

delistResource

public void delistResource(IResourceChecker resource)
Delist a resource.

Parameters:
resource - the given resource.

delistAll

public void delistAll()
Delist all resources that are enlisted.


push

public void push()
Push a new list on the stack.


pop

public void pop()
Pop the list on the stacK.


getResources

public java.util.List getResources()
Returns:
list of resources enlisted on the current thread.