org.apache.james.jspf.policies
Interface Policy

All Known Implementing Classes:
OverridePolicy

public interface Policy

Return an spf record from a given domain.


Method Summary
 SPF1Record getSPFRecord(java.lang.String currentDomain)
          Get a record for the given domain
 

Method Detail

getSPFRecord

SPF1Record getSPFRecord(java.lang.String currentDomain)
                        throws PermErrorException,
                               TempErrorException,
                               NoneException,
                               NeutralException
Get a record for the given domain

Parameters:
currentDomain - the domain to retrieve the SPFRecord for
Returns:
the SPFRecord found
Throws:
PermErrorException - exception
TempErrorException - exception
NoneException - exception
NeutralException - exception


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