org.apache.james.jdkim
Class MockPublicKeyRecordRetriever
java.lang.Object
org.apache.james.jdkim.MockPublicKeyRecordRetriever
- All Implemented Interfaces:
- PublicKeyRecordRetriever
public class MockPublicKeyRecordRetriever
- extends Object
- implements PublicKeyRecordRetriever
This is a mock public key record retriever that store the "registry" in a
local map.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockPublicKeyRecordRetriever
public MockPublicKeyRecordRetriever()
MockPublicKeyRecordRetriever
public MockPublicKeyRecordRetriever(String record,
CharSequence selector,
CharSequence token)
addRecord
public void addRecord(String selector,
String token,
String record)
getRecords
public List getRecords(CharSequence methodAndOptions,
CharSequence selector,
CharSequence token)
throws TempFailException,
PermFailException
- Specified by:
getRecords
in interface PublicKeyRecordRetriever
- Throws:
TempFailException
PermFailException
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.