org.ow2.jonas.jndi.checker.api
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.
 List<IResourceChecker> getResources()
           
 void pop()
          Pop the list on the stacK.
 void push()
          Push a new list on the stack.
 
Methods inherited from interface org.ow2.jonas.jndi.checker.api.IResourceChecker
detect
 

Method Detail

enlistResource

void enlistResource(IResourceChecker resource)
Enlist a new resource.

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

delistResource

void delistResource(IResourceChecker resource)
Delist a resource.

Parameters:
resource - the given resource.

delistAll

void delistAll()
Delist all resources that are enlisted.


push

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


pop

void pop()
Pop the list on the stacK.


getResources

List<IResourceChecker> getResources()
Returns:
list of resources enlisted on the current thread.


Copyright © 2010 OW2 Consortium. All Rights Reserved.