com.admc.jamama
Interface Configurable

All Known Subinterfaces:
Director, MitGenerator, Repository, Router, Server, ThirdPartyConfiguror
All Known Implementing Classes:
JamamaDirector, MailFolderFileRepository, MitFileRepository, MX4JHttpAdaptorConfiguror, Server, SmtpRouter, TCPProxyServer

public interface Configurable

Configurable classes may be loaded and saved by the Jamama class. In addition to subclassing this class, in your class you must define

Version:
$Revision: 1.2 $
Author:
Blaine Simpson

Method Summary
 void configure(java.lang.Object o)
          Initialize the object's state with information in the given Jaxb object.
 java.lang.Object getConfig()
          Returns the Jaxb object used to configure this.
 java.lang.String getName()
          Name which Jamama config file uses to identify this object instance.
 

Method Detail

configure

public void configure(java.lang.Object o)
Initialize the object's state with information in the given Jaxb object.

Parameters:
o - A Jaxb object corresponding to a XML document branch.

getConfig

public java.lang.Object getConfig()
Returns the Jaxb object used to configure this.


getName

public java.lang.String getName()
Name which Jamama config file uses to identify this object instance.