com.sage.orion.sdata.servlet
Interface PoolFinder

All Known Implementing Classes:
PoolFinderImpl, SystemPoolFinder

public interface PoolFinder

The PoolFinder interface defines a mechanism for getting ResourceKindPool based upon authorization tokens


Method Summary
 ResourceKindPool getPool(java.lang.String authToken)
          Gets the Resource Pool for the user defined by the user authentication token.
 java.util.List<ResourceKindPool> getPoolList()
          Gets the list of ResourceKindPools under the control of the pool finder
 void shutdown()
          Shut down the pool finder
 

Method Detail

getPool

ResourceKindPool getPool(java.lang.String authToken)
Gets the Resource Pool for the user defined by the user authentication token.

Parameters:
authToken - the authorization token, which may affect which pool is returned
Returns:
a ResourceKindPool suitable for requests for the given token, or null

getPoolList

java.util.List<ResourceKindPool> getPoolList()
Gets the list of ResourceKindPools under the control of the pool finder

Returns:
null if there is no list and a List otherwise

shutdown

void shutdown()
Shut down the pool finder



Copyright © 2011 Sage Software, Inc. All rights reserved.