|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.core.MailetConfigImpl
Implements the configuration object for a Mailet.
Constructor Summary | |
MailetConfigImpl()
No argument constructor for this object. |
Method Summary | |
String |
getInitAttribute(String name)
Get the value of an (XML) attribute stored in this MailetConfig. |
String |
getInitParameter(String name)
Get the value of an parameter stored in this MailetConfig. |
Iterator |
getInitParameterNames()
Returns an iterator over the set of configuration parameter names. |
MailetContext |
getMailetContext()
Get the mailet's MailetContext object. |
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(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 String getInitParameter(String name)
getInitParameter
in interface MailetConfig
name
- the name of the parameter whose value is to be retrieved.
public Iterator getInitParameterNames()
getInitParameterNames
in interface MailetConfig
public String getInitAttribute(String name)
name
- the name of the attribute whose value is to be retrieved.
public MailetContext getMailetContext()
getMailetContext
in interface MailetConfig
public void setMailetContext(MailetContext newContext)
public void setConfiguration(org.apache.avalon.framework.configuration.Configuration newConfiguration)
newConfiguration
- the new Configuration for the mailetpublic String getMailetName()
getMailetName
in interface MailetConfig
public void setMailetName(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 |