|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.jspf.terms.GenericModifier
public abstract class GenericModifier
This abstract class represent a gerneric modifier
Field Summary | |
---|---|
protected Logger |
log
|
Constructor Summary | |
---|---|
GenericModifier()
|
Method Summary | |
---|---|
DNSLookupContinuation |
checkSPF(SPFSession spfData)
Run check for SPF with the given values. |
protected abstract DNSLookupContinuation |
checkSPFLogged(SPFSession spfData)
|
void |
config(Configuration params)
Configuration |
void |
enableLogging(Logger logger)
Provide component with a logger. |
boolean |
enforceSingleInstance()
Return true if the Modifier is only allowed once |
protected java.lang.String |
getHost()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Logger log
Constructor Detail |
---|
public GenericModifier()
Method Detail |
---|
public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException, TempErrorException, NeutralException, NoneException
SPFChecker
checkSPF
in interface SPFChecker
spfData
- The SPF1Data which should be used to run the check
PermErrorException
- Get thrown if an error was detected
TempErrorException
- Get thrown if a DNS problem was detected
NeutralException
- Get thrown if the result should be neutral
NoneException
- Get thrown if no Record was foundSPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)
protected abstract DNSLookupContinuation checkSPFLogged(SPFSession spfData) throws PermErrorException, TempErrorException, NeutralException, NoneException
PermErrorException
TempErrorException
NeutralException
NoneException
public boolean enforceSingleInstance()
Modifier
enforceSingleInstance
in interface Modifier
Modifier.enforceSingleInstance()
public void config(Configuration params) throws PermErrorException
ConfigurationEnabled
config
in interface ConfigurationEnabled
params
- the ConfigurationMatch which should used
PermErrorException
- get thrown if a PermError should returnedConfigurationEnabled.config(Configuration)
protected java.lang.String getHost()
public void enableLogging(Logger logger)
LogEnabled
enableLogging
in interface LogEnabled
logger
- the logger. Must not be null
.LogEnabled.enableLogging(org.apache.james.jspf.core.Logger)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |