org.apache.james.smtpserver
Class SMTPTestConfiguration

java.lang.Object
  extended by org.apache.avalon.framework.configuration.AbstractConfiguration
      extended by org.apache.avalon.framework.configuration.DefaultConfiguration
          extended by org.apache.james.smtpserver.SMTPTestConfiguration
All Implemented Interfaces:
java.io.Serializable, org.apache.avalon.framework.configuration.Configuration, org.apache.avalon.framework.configuration.MutableConfiguration

public class SMTPTestConfiguration
extends org.apache.avalon.framework.configuration.DefaultConfiguration

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.avalon.framework.configuration.DefaultConfiguration
EMPTY_ARRAY
 
Constructor Summary
SMTPTestConfiguration(int smtpListenerPort)
           
 
Method Summary
 java.lang.String getAuthorizedAddresses()
           
 int getMaxMessageSize()
           
 void init()
           
 void setAuthorizedAddresses(java.lang.String authorizedAddresses)
           
 void setAuthorizingAnnounce()
           
 void setAuthorizingNotRequired()
           
 void setAuthorizingRequired()
           
 void setCheckAuthClients(boolean ignore)
           
 void setCheckAuthNetworks(boolean checkAuth)
           
 void setConnectionBacklog(int iConnectionBacklog)
           
 void setConnectionLimit(int iConnectionLimit)
           
 void setEhloResolv()
           
 void setHeloEhloEnforcement(boolean heloEhloEnforcement)
           
 void setHeloResolv()
           
 void setMaxMessageSize(int kilobytes)
           
 void setMaxRcpt(int maxRcpt)
           
 void setReverseEqualsEhlo()
           
 void setReverseEqualsHelo()
           
 void setSenderDomainResolv()
           
 
Methods inherited from class org.apache.avalon.framework.configuration.DefaultConfiguration
addAll, addAll, addAllAttributes, addAllChildren, addAllChildren, addAttribute, addChild, appendValueData, checkWriteable, equals, getAttribute, getAttributeNames, getChild, getChildCount, getChildren, getChildren, getLocation, getMutableChild, getMutableChild, getMutableChildren, getMutableChildren, getName, getNamespace, getPrefix, getValue, getValue, hashCode, isReadOnly, makeReadOnly, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setValue, setValue, setValue, setValue, setValue, setValue
 
Methods inherited from class org.apache.avalon.framework.configuration.AbstractConfiguration
getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsFloat, getAttributeAsInteger, getAttributeAsInteger, getAttributeAsLong, getAttributeAsLong, getChild, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFloat, getValueAsInteger, getValueAsInteger, getValueAsLong, getValueAsLong, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.framework.configuration.Configuration
getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsFloat, getAttributeAsInteger, getAttributeAsInteger, getAttributeAsLong, getAttributeAsLong, getChild, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFloat, getValueAsInteger, getValueAsInteger, getValueAsLong, getValueAsLong
 

Constructor Detail

SMTPTestConfiguration

public SMTPTestConfiguration(int smtpListenerPort)
Method Detail

setCheckAuthNetworks

public void setCheckAuthNetworks(boolean checkAuth)

setMaxMessageSize

public void setMaxMessageSize(int kilobytes)

getMaxMessageSize

public int getMaxMessageSize()

getAuthorizedAddresses

public java.lang.String getAuthorizedAddresses()

setAuthorizedAddresses

public void setAuthorizedAddresses(java.lang.String authorizedAddresses)

setAuthorizingNotRequired

public void setAuthorizingNotRequired()

setAuthorizingRequired

public void setAuthorizingRequired()

setAuthorizingAnnounce

public void setAuthorizingAnnounce()

setConnectionLimit

public void setConnectionLimit(int iConnectionLimit)

setConnectionBacklog

public void setConnectionBacklog(int iConnectionBacklog)

setHeloResolv

public void setHeloResolv()

setEhloResolv

public void setEhloResolv()

setReverseEqualsHelo

public void setReverseEqualsHelo()

setReverseEqualsEhlo

public void setReverseEqualsEhlo()

setSenderDomainResolv

public void setSenderDomainResolv()

setCheckAuthClients

public void setCheckAuthClients(boolean ignore)

setMaxRcpt

public void setMaxRcpt(int maxRcpt)

setHeloEhloEnforcement

public void setHeloEhloEnforcement(boolean heloEhloEnforcement)

init

public void init()
          throws org.apache.avalon.framework.configuration.ConfigurationException
Throws:
org.apache.avalon.framework.configuration.ConfigurationException


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.