DefaultMuleConfiguration (Mule ESB 2.2.1 API)
Keywords: org.mule.config.DefaultMuleConfiguration class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.config
Class DefaultMuleConfiguration

    java.lang.Object
      org.mule.config.DefaultMuleConfiguration

All Implemented Interfaces:
  MuleConfiguration

    public class DefaultMuleConfiguration

extends Object
implements MuleConfiguration

Configuration info. which can be set when creating the MuleContext but becomes immutable after starting the MuleContext.

Field Summary
`protected Log` | `logger`

Fields inherited from interface org.mule.api.config.MuleConfiguration
`SYSTEM_PROPERTY_PREFIX`

Constructor Summary
`DefaultMuleConfiguration()`

Method Summary
`protected void` | `applySystemProperties()` Apply any settings which come from the JVM system properties.
`String` | `getClusterId()`
`String` | `getDefaultEncoding()`
`int` | `getDefaultResponseTimeout()`
`int` | `getDefaultTransactionTimeout()`
`String` | `getDomainId()`
`String` | `getId()`
`String` | `getMuleHomeDirectory()`
`String` | `getSystemModelType()`
`String` | `getSystemName()`
`String` | `getWorkingDirectory()`
`boolean` | `isAutoWrapMessageAwareTransform()`
`boolean` | `isCacheMessageAsBytes()`
`boolean` | `isCacheMessageOriginalPayload()`
`boolean` | `isClientMode()`
`boolean` | `isDefaultSynchronousEndpoints()`
`boolean` | `isEnableStreaming()`
`void` | `setAutoWrapMessageAwareTransform(boolean autoWrapMessageAwareTransform)`
`void` | `setCacheMessageAsBytes(boolean cacheMessageAsBytes)`
`void` | `setCacheMessageOriginalPayload(boolean cacheMessageOriginalPayload)`
`void` | `setClientMode(boolean clientMode)`
`void` | `setClusterId(String clusterId)`
`void` | `setDefaultEncoding(String encoding)`
`void` | `setDefaultResponseTimeout(int responseTimeout)`
`void` | `setDefaultSynchronousEndpoints(boolean synchronous)`
`void` | `setDefaultTransactionTimeout(int defaultTransactionTimeout)`
`void` | `setDomainId(String domainId)`
`void` | `setEnableStreaming(boolean enableStreaming)`
`void` | `setId(String id)`
`void` | `setSystemModelType(String systemModelType)`
`void` | `setWorkingDirectory(String workingDirectory)`
`protected void` | `validateEncoding()`
`protected void` | `validateXML()` Mule needs a proper JAXP implementation and will complain when run with a plain JDK 1.4.
`protected boolean` | `verifyContextNotInitialized()`
`protected boolean` | `verifyContextNotStarted()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### logger

    protected transient Log logger

Constructor Detail

### DefaultMuleConfiguration

    public DefaultMuleConfiguration()

Method Detail

### applySystemProperties

    protected void applySystemProperties()

  Apply any settings which come from the JVM system properties.

### validateEncoding

    protected void validateEncoding()
                             throws FatalException

  Throws:
    `FatalException`

### validateXML

    protected void validateXML()
                        throws FatalException

  Mule needs a proper JAXP implementation and will complain when run with a plain JDK 1.4. Use the supplied launcher or specify a proper JAXP implementation via `-Djava.endorsed.dirs`. See the following URLs for more information:
  - `http://xerces.apache.org/xerces2-j/faq-general.html#faq-4`
  - `http://xml.apache.org/xalan-j/faq.html#faq-N100D6`
  - `http://java.sun.com/j2se/1.4.2/docs/guide/standards/`

  Throws:
    `FatalException`

### isDefaultSynchronousEndpoints

    public boolean isDefaultSynchronousEndpoints()

  Specified by:
    `isDefaultSynchronousEndpoints` in interface `MuleConfiguration`

### setDefaultSynchronousEndpoints

    public void setDefaultSynchronousEndpoints(boolean synchronous)

### getDefaultResponseTimeout

    public int getDefaultResponseTimeout()

  Specified by:
    `getDefaultResponseTimeout` in interface `MuleConfiguration`

### setDefaultResponseTimeout

    public void setDefaultResponseTimeout(int responseTimeout)

### getWorkingDirectory

    public String getWorkingDirectory()

  Specified by:
    `getWorkingDirectory` in interface `MuleConfiguration`

### getMuleHomeDirectory

    public String getMuleHomeDirectory()

  Specified by:
    `getMuleHomeDirectory` in interface `MuleConfiguration`

### setWorkingDirectory

    public void setWorkingDirectory(String workingDirectory)

### getDefaultTransactionTimeout

    public int getDefaultTransactionTimeout()

  Specified by:
    `getDefaultTransactionTimeout` in interface `MuleConfiguration`

### setDefaultTransactionTimeout

    public void setDefaultTransactionTimeout(int defaultTransactionTimeout)

### isClientMode

    public boolean isClientMode()

  Specified by:
    `isClientMode` in interface `MuleConfiguration`

### getDefaultEncoding

    public String getDefaultEncoding()

  Specified by:
    `getDefaultEncoding` in interface `MuleConfiguration`

### setDefaultEncoding

    public void setDefaultEncoding(String encoding)

### getId

    public String getId()

  Specified by:
    `getId` in interface `MuleConfiguration`

### setId

    public void setId(String id)

### getClusterId

    public String getClusterId()

  Specified by:
    `getClusterId` in interface `MuleConfiguration`

### setClusterId

    public void setClusterId(String clusterId)

### getDomainId

    public String getDomainId()

  Specified by:
    `getDomainId` in interface `MuleConfiguration`

### setDomainId

    public void setDomainId(String domainId)

### getSystemModelType

    public String getSystemModelType()

  Specified by:
    `getSystemModelType` in interface `MuleConfiguration`

### setSystemModelType

    public void setSystemModelType(String systemModelType)

### setClientMode

    public void setClientMode(boolean clientMode)

### getSystemName

    public String getSystemName()

  Specified by:
    `getSystemName` in interface `MuleConfiguration`

### isAutoWrapMessageAwareTransform

    public boolean isAutoWrapMessageAwareTransform()

  Specified by:
    `isAutoWrapMessageAwareTransform` in interface `MuleConfiguration`

### setAutoWrapMessageAwareTransform

    public void setAutoWrapMessageAwareTransform(boolean autoWrapMessageAwareTransform)

### isCacheMessageAsBytes

    public boolean isCacheMessageAsBytes()

  Specified by:
    `isCacheMessageAsBytes` in interface `MuleConfiguration`

### setCacheMessageAsBytes

    public void setCacheMessageAsBytes(boolean cacheMessageAsBytes)

### isCacheMessageOriginalPayload

    public boolean isCacheMessageOriginalPayload()

  Specified by:
    `isCacheMessageOriginalPayload` in interface `MuleConfiguration`

### setCacheMessageOriginalPayload

    public void setCacheMessageOriginalPayload(boolean cacheMessageOriginalPayload)

### isEnableStreaming

    public boolean isEnableStreaming()

  Specified by:
    `isEnableStreaming` in interface `MuleConfiguration`

### setEnableStreaming

    public void setEnableStreaming(boolean enableStreaming)

### verifyContextNotInitialized

    protected boolean verifyContextNotInitialized()

### verifyContextNotStarted

    protected boolean verifyContextNotStarted()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.