com.ibm.portal.admin.runtime
Interface RuntimeClientListLocator<T extends java.lang.Object & Client>

Type Parameters:
T - the client object served out of the model
All Superinterfaces:
RuntimeLocator<T>

public interface RuntimeClientListLocator<T extends java.lang.Object & Client>
extends RuntimeLocator<T>

Locator to find a client based on the user-agent string

Since:
7.0
See Also:
ClientList

Method Summary
 T getClient(RuntimeContext aRuntimeContext, java.lang.String userAgent)
          Gets the client object that matches the given user agent string.
 
Methods inherited from interface com.ibm.portal.runtime.RuntimeLocator
findByID, findByUniqueName
 

Method Detail

getClient

T getClient(RuntimeContext aRuntimeContext,
            java.lang.String userAgent)
                                             throws DataException
Gets the client object that matches the given user agent string.

Parameters:
aRuntimeContext - the current runtime context
userAgent - the user agent string from the http header
Returns:
client that corresponds to the user agent string
Throws:
DataException