|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.james.core.MailetConfigImpl
Implements the configuration object for a Mailet.
Constructor Summary | |
MailetConfigImpl()
No argument constructor for this object. |
Method Summary | |
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(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
UnsupportedOperationException
- in all cases, as this is not implementedpublic MailetContext getMailetContext()
getMailetContext
in interface MailetConfig
public void setMailetContext(MailetContext newContext)
public void setConfiguration(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 |