|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbstractDynamicMBean
com.admc.jamama.router.SmtpRouter
A router that routes TO SMTP.
Mit,
Serialized Form| Field Summary |
| Fields inherited from interface com.admc.jamama.Router |
STATUS_CONTINUE, STATUS_DEFER, STATUS_DROP, STATUS_EXPLICITROUTE, STATUS_FREEZE, STATUS_SUCCESS |
| Constructor Summary | |
SmtpRouter()
|
|
| Method Summary | |
void |
configure(java.lang.Object inCfg)
Initialize the object's state with information in the given Jaxb object. |
java.lang.Object |
getConfig()
Returns the Jaxb object used to configure this. |
protected java.lang.String |
getMBeanDescription()
|
java.lang.String |
getName()
Name which Jamama config file uses to identify this object instance. |
RepositoryDependency[] |
getNeedRepositories()
Returns names of the repositories needed. |
java.lang.String[] |
getNeedRouters()
Returns names of all Routers that this Router may forward to. |
int |
route(Mit mit,
boolean ping,
Repository[] repositoryList)
Processes a Mit, with a goal of approaching or achieving Mit consumption or rejection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SmtpRouter()
| Method Detail |
protected java.lang.String getMBeanDescription()
public java.lang.String[] getNeedRouters()
Router
getNeedRouters in interface RouterRouterpublic RepositoryDependency[] getNeedRepositories()
Router
getNeedRepositories in interface RouterRouter
public int route(Mit mit,
boolean ping,
Repository[] repositoryList)
route in interface RouterRouterpublic void configure(java.lang.Object inCfg)
Configurable
configure in interface ConfigurableinCfg - A Jaxb object corresponding to a XML document branch.Configurablepublic java.lang.String getName()
Configurable
getName in interface ConfigurableConfigurablepublic java.lang.Object getConfig()
Configurable
getConfig in interface ConfigurableConfigurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||