|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.admc.jamama.server.MX4JHttpAdaptorConfiguror
A wrapper so that a mx4j.tools.adaptor.http.HttpAdaptor can be configured and stopped and started by the main Jamama class.
mx4j.tools.adaptor.http.HttpAdaptor,
ThirdPartyConfiguror| Constructor Summary | |
MX4JHttpAdaptorConfiguror()
|
|
| 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. |
java.lang.Object |
getObject()
Returns a non-Configurable class so that Jamama can configure and manage it. |
boolean |
getRun()
Say whether main thread of this Server is running. |
void |
restoreRunState()
Start up server iff server is configured to start automatically. |
void |
run()
|
void |
setRun(boolean doRun)
Start or stop the main thread in this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MX4JHttpAdaptorConfiguror()
| Method Detail |
public boolean getRun()
Server
getRun in interface ServerServerpublic void setRun(boolean doRun)
Server
setRun in interface ServerdoRun - true to start up thread; false to stop itServerpublic void restoreRunState()
Server
restoreRunState in interface ServerServerpublic void run()
run in interface java.lang.Runnablepublic java.lang.String getName()
Configurable
getName in interface ConfigurableConfigurablepublic java.lang.Object getObject()
ThirdPartyConfiguror
getObject in interface ThirdPartyConfigurorThirdPartyConfigurorpublic void configure(java.lang.Object o)
Configurable
configure in interface Configurableo - A Jaxb object corresponding to a XML document branch.Configurablepublic java.lang.Object getConfig()
Configurable
getConfig in interface Configurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||