|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.MuleServer
MuleServer
is a simple application that represents a local
Mule Server deamon. It is initalised with a mule-configuration.xml file.
Field Summary | |
static java.lang.String |
DEFAULT_CONFIGURATION
|
Constructor Summary | |
MuleServer()
default constructor |
|
MuleServer(java.lang.String configResources)
|
Method Summary | |
static ConfigurationBuilder |
getConfigBuilder()
gets the configuration builder used by this server. |
java.lang.String |
getConfigurationResources()
Getter for property messengerURL. |
protected void |
initialize()
Initializes this daemon. |
static void |
main(java.lang.String[] args)
application entry point |
void |
run()
Overloaded the [main] thread run method. |
static void |
setConfigBuilder(ConfigurationBuilder configBuilder)
sets the configuration builder to use for this server. |
void |
setConfigurationResources(java.lang.String configurationResources)
Setter for property messengerURL. |
void |
start(boolean ownThread)
Start the mule server |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_CONFIGURATION
Constructor Detail |
public MuleServer()
public MuleServer(java.lang.String configResources)
Method Detail |
public static void main(java.lang.String[] args)
public void start(boolean ownThread)
ownThread
- determines if the server will run in its own daemon thread
or the current calling threadpublic void run()
run
in interface java.lang.Runnable
public java.lang.String getConfigurationResources()
public void setConfigurationResources(java.lang.String configurationResources)
configurationResources
- New value of property configurationResources.public static ConfigurationBuilder getConfigBuilder()
MuleXmlConfigurationBuilder
.
public static void setConfigBuilder(ConfigurationBuilder configBuilder)
configBuilder
- the configuration builder instance to useprotected void initialize() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |