|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.core.MailetConfigImpl
public class MailetConfigImpl
Implements the configuration object for a Mailet.
| Constructor Summary | |
|---|---|
MailetConfigImpl()
No argument constructor for this object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getInitAttribute(java.lang.String name)
Get the value of an (XML) attribute stored in this MailetConfig. |
java.lang.String |
getInitParameter(java.lang.String name)
Get the value of an parameter stored in this MailetConfig. |
java.util.Iterator |
getInitParameterNames()
Returns an iterator over the set of configuration parameter names. |
MailetContext |
getMailetContext()
Get the mailet's MailetContext object. |
java.lang.String |
getMailetName()
Get the name of the mailet. |
void |
setConfiguration(org.apache.avalon.framework.configuration.Configuration newConfiguration)
Set the Avalon Configuration object for the mailet. |
void |
setMailetContext(MailetContext newContext)
Get the mailet's Avalon Configuration object. |
void |
setMailetName(java.lang.String newName)
Set the name for the mailet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailetConfigImpl()
| Method Detail |
|---|
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter in interface MailetConfigname - the name of the parameter whose value is to be retrieved.
public java.util.Iterator getInitParameterNames()
getInitParameterNames in interface MailetConfigpublic java.lang.String getInitAttribute(java.lang.String name)
name - the name of the attribute whose value is to be retrieved.
public MailetContext getMailetContext()
getMailetContext in interface MailetConfigpublic void setMailetContext(MailetContext newContext)
public void setConfiguration(org.apache.avalon.framework.configuration.Configuration newConfiguration)
newConfiguration - the new Configuration for the mailetpublic java.lang.String getMailetName()
getMailetName in interface MailetConfigpublic void setMailetName(java.lang.String newName)
newName - the new name for the mailet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||