org.mule.config
Class MuleConfiguration

java.lang.Object
  extended byorg.mule.config.MuleConfiguration

public class MuleConfiguration
extends java.lang.Object

MuleConfiguration holds the runtime configuration specific to the MuleManager. Once the MuleManager has been initialised this class is immutable.

Version:
$Revision: 1.6 $
Author:
Ross Mason

Field Summary
static int DEFAULT_MAX_OUTSTANDING_MESSAGES
          Default value for MAX_OUTSTANDING_MESSAGES_PROPERTY
static java.lang.String DEFAULT_SERVER_URL
          The default serverUrl used to receive incoming requests from clients
static boolean DEFAULT_SYNCHRONOUS
          Default value for SYNCHRONOUS_PROPERTY
static int DEFAULT_SYNCHRONOUS_EVENT_TIMEOUT
           
static int DEFAULT_TRANSACTION_TIMEOUT
           
static java.lang.String DEFAULT_WORKING_DIRECTORY
          Where Mule stores any runtime files to disk
static java.lang.String SYNCHRONOUS_PROPERTY
          Specifies whether mule should process messages sysnchonously, i.e.
static java.lang.String USE_MANAGER_PROPERTIES
          Specifies that the transformer properties should be obtained from the Mule Manager properties
 
Constructor Summary
MuleConfiguration()
           
 
Method Summary
 ThreadingProfile getComponentThreadingProfile()
           
 java.lang.String[] getConfigResources()
           
 ThreadingProfile getDefaultThreadingProfile()
           
 java.util.jar.Manifest getManifest()
           
protected  java.lang.String getManifestProperty(java.lang.String name)
           
 ThreadingProfile getMessageDispatcherThreadingProfile()
           
 ThreadingProfile getMessageReceiverThreadingProfile()
           
 java.lang.String getModel()
           
 PoolingProfile getPoolingProfile()
           
 java.lang.String getProductName()
           
 java.lang.String getProductVersion()
           
 QueueProfile getQueueProfile()
           
 java.lang.String getServerUrl()
           
 int getSynchronousEventTimeout()
           
 int getTransactionTimeout()
           
 java.lang.String getVendorName()
           
 java.lang.String getWorkingDirectoy()
           
 boolean isClientMode()
           
 boolean isRecoverableMode()
           
 boolean isSynchronous()
           
 boolean isSynchronousReceive()
           
 void setClientMode(boolean clientMode)
           
 void setComponentThreadingProfile(ThreadingProfile componentPoolThreadingProfile)
           
 void setConfigResources(java.lang.String[] configResources)
           
 void setDefaultThreadingProfile(ThreadingProfile defaultThreadingProfile)
           
 void setMessageDispatcherThreadingProfile(ThreadingProfile messageDispatcherThreadingProfile)
           
 void setMessageReceiverThreadingProfile(ThreadingProfile messageReceiverThreadingProfile)
           
 void setModel(java.lang.String model)
           
 void setPoolingProfile(PoolingProfile poolingProfile)
           
 void setQueueProfile(QueueProfile queueProfile)
           
 void setRecoverableMode(boolean recoverableMode)
           
 void setServerUrl(java.lang.String serverUrl)
           
 void setSynchronous(boolean synchronous)
           
 void setSynchronousEventTimeout(int synchronousEventTimeout)
           
 void setSynchronousReceive(boolean synchronousReceive)
           
 void setTransactionTimeout(int transactionTimeout)
           
 void setWorkingDirectory(java.lang.String workingDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SERVER_URL

public static final java.lang.String DEFAULT_SERVER_URL
The default serverUrl used to receive incoming requests from clients

See Also:
Constant Field Values

USE_MANAGER_PROPERTIES

public static final java.lang.String USE_MANAGER_PROPERTIES
Specifies that the transformer properties should be obtained from the Mule Manager properties

See Also:
Constant Field Values

SYNCHRONOUS_PROPERTY

public static final java.lang.String SYNCHRONOUS_PROPERTY
Specifies whether mule should process messages sysnchonously, i.e. that a mule-model can only processone message at a time, or asynchonously. The default value is 'false'.

See Also:
Constant Field Values

DEFAULT_SYNCHRONOUS

public static final boolean DEFAULT_SYNCHRONOUS
Default value for SYNCHRONOUS_PROPERTY

See Also:
Constant Field Values

DEFAULT_MAX_OUTSTANDING_MESSAGES

public static final int DEFAULT_MAX_OUTSTANDING_MESSAGES
Default value for MAX_OUTSTANDING_MESSAGES_PROPERTY

See Also:
Constant Field Values

DEFAULT_SYNCHRONOUS_EVENT_TIMEOUT

public static final int DEFAULT_SYNCHRONOUS_EVENT_TIMEOUT
See Also:
Constant Field Values

DEFAULT_TRANSACTION_TIMEOUT

public static final int DEFAULT_TRANSACTION_TIMEOUT
See Also:
Constant Field Values

DEFAULT_WORKING_DIRECTORY

public static final java.lang.String DEFAULT_WORKING_DIRECTORY
Where Mule stores any runtime files to disk

See Also:
Constant Field Values
Constructor Detail

MuleConfiguration

public MuleConfiguration()
Method Detail

isSynchronous

public boolean isSynchronous()
Returns:
true if the model is running synchronously or false otherwise

setSynchronous

public void setSynchronous(boolean synchronous)

getModel

public java.lang.String getModel()

setModel

public void setModel(java.lang.String model)

getMessageDispatcherThreadingProfile

public ThreadingProfile getMessageDispatcherThreadingProfile()

setMessageDispatcherThreadingProfile

public void setMessageDispatcherThreadingProfile(ThreadingProfile messageDispatcherThreadingProfile)

getMessageReceiverThreadingProfile

public ThreadingProfile getMessageReceiverThreadingProfile()

setMessageReceiverThreadingProfile

public void setMessageReceiverThreadingProfile(ThreadingProfile messageReceiverThreadingProfile)

getComponentThreadingProfile

public ThreadingProfile getComponentThreadingProfile()

setComponentThreadingProfile

public void setComponentThreadingProfile(ThreadingProfile componentPoolThreadingProfile)

getDefaultThreadingProfile

public ThreadingProfile getDefaultThreadingProfile()

setDefaultThreadingProfile

public void setDefaultThreadingProfile(ThreadingProfile defaultThreadingProfile)

getPoolingProfile

public PoolingProfile getPoolingProfile()

setPoolingProfile

public void setPoolingProfile(PoolingProfile poolingProfile)

getSynchronousEventTimeout

public int getSynchronousEventTimeout()

setSynchronousEventTimeout

public void setSynchronousEventTimeout(int synchronousEventTimeout)

isSynchronousReceive

public boolean isSynchronousReceive()

setSynchronousReceive

public void setSynchronousReceive(boolean synchronousReceive)

getQueueProfile

public QueueProfile getQueueProfile()

setQueueProfile

public void setQueueProfile(QueueProfile queueProfile)

isRecoverableMode

public boolean isRecoverableMode()

setRecoverableMode

public void setRecoverableMode(boolean recoverableMode)

getWorkingDirectoy

public java.lang.String getWorkingDirectoy()

setWorkingDirectory

public void setWorkingDirectory(java.lang.String workingDirectory)

getConfigResources

public java.lang.String[] getConfigResources()

setConfigResources

public void setConfigResources(java.lang.String[] configResources)

getServerUrl

public java.lang.String getServerUrl()

setServerUrl

public void setServerUrl(java.lang.String serverUrl)

getProductVersion

public java.lang.String getProductVersion()

getVendorName

public java.lang.String getVendorName()

getProductName

public java.lang.String getProductName()

getManifest

public java.util.jar.Manifest getManifest()

getManifestProperty

protected java.lang.String getManifestProperty(java.lang.String name)

getTransactionTimeout

public int getTransactionTimeout()

setTransactionTimeout

public void setTransactionTimeout(int transactionTimeout)

isClientMode

public boolean isClientMode()

setClientMode

public void setClientMode(boolean clientMode)


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.