com.sage.orion.sdata.servlet.swtservice
Class PoolFinderImpl

java.lang.Object
  extended by com.sage.orion.sdata.servlet.swtservice.PoolFinderImpl
All Implemented Interfaces:
PoolFinder

public class PoolFinderImpl
extends java.lang.Object
implements PoolFinder


Constructor Summary
PoolFinderImpl(SDataServletContext servletContext)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolFinderImpl

public PoolFinderImpl(SDataServletContext servletContext)
Method Detail

getPool

public ResourceKindPool getPool(java.lang.String authToken)
Description copied from interface: PoolFinder
Gets the Resource Pool for the user defined by the user authentication token.

Specified by:
getPool in interface PoolFinder
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

public java.util.List<ResourceKindPool> getPoolList()
Description copied from interface: PoolFinder
Gets the list of ResourceKindPools under the control of the pool finder

Specified by:
getPoolList in interface PoolFinder
Returns:
null if there is no list and a List otherwise

shutdown

public void shutdown()
Description copied from interface: PoolFinder
Shut down the pool finder

Specified by:
shutdown in interface PoolFinder


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