org.apache.james.jdkim.impl
Class MultiplexingPublicKeyRecordRetriever

java.lang.Object
  extended by org.apache.james.jdkim.impl.MultiplexingPublicKeyRecordRetriever
All Implemented Interfaces:
PublicKeyRecordRetriever

public class MultiplexingPublicKeyRecordRetriever
extends Object
implements PublicKeyRecordRetriever


Constructor Summary
MultiplexingPublicKeyRecordRetriever()
           
MultiplexingPublicKeyRecordRetriever(String methodName, PublicKeyRecordRetriever pkrr)
           
 
Method Summary
 void addRetriever(String methodName, PublicKeyRecordRetriever pkrr)
           
 List getRecords(CharSequence methodAndOption, CharSequence selector, CharSequence token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiplexingPublicKeyRecordRetriever

public MultiplexingPublicKeyRecordRetriever()

MultiplexingPublicKeyRecordRetriever

public MultiplexingPublicKeyRecordRetriever(String methodName,
                                            PublicKeyRecordRetriever pkrr)
Method Detail

addRetriever

public void addRetriever(String methodName,
                         PublicKeyRecordRetriever pkrr)

getRecords

public List getRecords(CharSequence methodAndOption,
                       CharSequence selector,
                       CharSequence token)
                throws TempFailException,
                       PermFailException
Specified by:
getRecords in interface PublicKeyRecordRetriever
Parameters:
methodAndOption - the options declared for the lookup method.
selector - the value of "s=" tag
token - the value of the "d=" tag
Returns:
A list of strings representing 0 to multiple records
Throws:
TempFailException - in case of timeout and other network errors.
PermFailException - in case of unsupported options


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.