org.apache.jetspeed.om.registry
Interface ClientRegistry

All Superinterfaces:
Registry
All Known Implementing Classes:
BaseClientRegistry

public interface ClientRegistry
extends Registry

The ClientRegistry interface allow to query the system Registry to find client implementations whose "User-agent" identification matches a specific regular expression as defined in a ClientEntry

Version:
$Id: ClientRegistry.java,v 1.3 2005/03/21 18:21:37 sgala Exp $
Author:
Stephan Hesmer, RaphaŽl Luta

Method Summary
 ClientEntry findEntry(java.lang.String useragent)
          Returns the client which matches the given useragent string.
 
Methods inherited from interface org.apache.jetspeed.om.registry.Registry
addEntry, createEntry, getEntries, getEntry, getEntryCount, hasEntry, listEntryNames, removeEntry, removeEntry, setEntry, toArray
 

Method Detail

findEntry

public ClientEntry findEntry(java.lang.String useragent)
Returns the client which matches the given useragent string.

Parameters:
useragent - the useragent to match
Returns:
the found client or null if the user-agent does not match any defined client


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.