org.apache.james.jspf.policies.local
Class OverridePolicy

java.lang.Object
  extended by org.apache.james.jspf.policies.local.FallbackPolicy
      extended by org.apache.james.jspf.policies.local.OverridePolicy
All Implemented Interfaces:
Policy, PolicyPostFilter

public class OverridePolicy
extends FallbackPolicy
implements Policy


Constructor Summary
OverridePolicy(Logger log, SPFRecordParser parser)
           
 
Method Summary
 SPF1Record getSPFRecord(java.lang.String currentDomain)
          Get a record for the given domain
 
Methods inherited from class org.apache.james.jspf.policies.local.FallbackPolicy
addEntry, clearEntrys, getMySPFRecord, getSPFRecord, removeEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverridePolicy

public OverridePolicy(Logger log,
                      SPFRecordParser parser)
Method Detail

getSPFRecord

public SPF1Record getSPFRecord(java.lang.String currentDomain)
                        throws PermErrorException,
                               TempErrorException,
                               NoneException,
                               NeutralException
Description copied from interface: Policy
Get a record for the given domain

Specified by:
getSPFRecord in interface Policy
Parameters:
currentDomain - the domain to retrieve the SPFRecord for
Returns:
the SPFRecord found
Throws:
PermErrorException - exception
TempErrorException - exception
NoneException - exception
NeutralException - exception
See Also:
Policy.getSPFRecord(java.lang.String)


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