|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MailetConfig
A mailet configuration object used by the mailet container to pass information to a mailet during initialization.
The configuration information consists of mailet-specific initialization parameters in a set of name/value pairs, and a MailetContext object which allows the mailet to interact with the mailet container.
Method Summary | |
---|---|
java.lang.String |
getInitParameter(java.lang.String name)
Returns the value of the named initialization parameter, or null if the parameter does not exist. |
java.util.Iterator |
getInitParameterNames()
Returns the names of the mailet's initialization parameters as an Iterator of String objects, or an empty Iterator if the mailet has no initialization parameters. |
MailetContext |
getMailetContext()
Returns a reference to the MailetContext in which the mailet is executing. |
java.lang.String |
getMailetName()
Returns the name of this mailet instance. |
Method Detail |
---|
java.lang.String getInitParameter(java.lang.String name)
name
- the name of the initialization parameter
java.util.Iterator getInitParameterNames()
MailetContext getMailetContext()
java.lang.String getMailetName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |