|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.config.ConfigurationController
public class ConfigurationController
The controller monitors changes in the jbossesb configuration file call jbossesb.xml. When changes are detected it validates the XML, and when it passes validation it goes on and generates the jbossesb-listener.xml and jbossesb-gateway.xml.
Constructor Summary | |
---|---|
ConfigurationController(java.lang.String configFileName)
Construct a Configuration Manager from the named repository based configuration. |
|
ConfigurationController(java.lang.String configFileName,
java.lang.String validationFileName)
Construct a Configuration Manager from the named repository based configuration. |
Method Summary | |
---|---|
boolean |
hasEnded()
Has the controller instance ended. |
static void |
main(java.lang.String[] args)
Start the Controller externally. |
void |
requestEnd()
To request the end of processing. |
void |
run()
Thread that observes the configuration (file). |
boolean |
waitForRequestedEnd(long maxDelay)
Wait for a request to end. |
boolean |
waitUntilEnded()
Wait until the ended flag has been set. |
boolean |
waitUntilEnded(long maxDelay)
Wait until the ended flag has been set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationController(java.lang.String configFileName)
configFileName
- - Name of the configuration repository.public ConfigurationController(java.lang.String configFileName, java.lang.String validationFileName)
configFileName
- - Name of the configuration repository.validationFileName
- - Name of the file name used for validation (xsd or dtd).Method Detail |
---|
public static void main(java.lang.String[] args)
args
- - arg[0] - the parameter file namepublic void run()
run
in interface java.lang.Runnable
public boolean hasEnded()
public boolean waitUntilEnded()
public boolean waitUntilEnded(long maxDelay)
maxDelay
- The maximum time to wait for the flag to be set.
public boolean waitForRequestedEnd(long maxDelay)
maxDelay
- The maximum time to wait in milliseconds.public void requestEnd()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |