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.module.boot
Class DefaultMuleClassPathConfig

    java.lang.Object
      org.mule.module.boot.DefaultMuleClassPathConfig

    public class DefaultMuleClassPathConfig

extends Object

Constructs a default set of JAR Urls located under Mule home folder.

Field Summary
`protected static String` | `MULE_DIR`
`protected static String` | `OPT_DIR`
`protected static String` | `USER_DIR`

Constructor Summary
`DefaultMuleClassPathConfig(File muleHome, File muleBase)` Constructs a new DefaultMuleClassPathConfig.

Method Summary
`void` | `addFile(File jar)`
`void` | `addFiles(List files)`
`void` | `addURL(URL url)` Add a URL to Mule's classpath.
`void` | `addURLs(List urls)` Setter for property 'urls'.
`List` | `getURLs()` Getter for property 'urls'.
`protected List` | `listJars(File path)` Find and if necessary filter the jars for classpath.

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

Field Detail

### MULE_DIR

    protected static final String MULE_DIR

See Also:
  Constant Field Values

### USER_DIR

    protected static final String USER_DIR

See Also:
  Constant Field Values

### OPT_DIR

    protected static final String OPT_DIR

See Also:
  Constant Field Values

Constructor Detail

### DefaultMuleClassPathConfig

    public DefaultMuleClassPathConfig(File muleHome,
                                      File muleBase)

  Constructs a new DefaultMuleClassPathConfig.

  Parameters:
    `muleHome` - Mule home directory
    `muleBase` - Mule base directory

Method Detail

### getURLs

    public List getURLs()

  Getter for property 'urls'.

  Returns:
    A copy of 'urls'. Items are java.net.URL

### addURLs

    public void addURLs(List urls)

  Setter for property 'urls'.

  Parameters:
    `urls` - Value to set for property 'urls'.

### addURL

    public void addURL(URL url)

  Add a URL to Mule's classpath.

  Parameters:
    `url` - folder (should end with a slash) or jar path

### addFiles

    public void addFiles(List files)

### addFile

    public void addFile(File jar)

### listJars

    protected List listJars(File path)

  Find and if necessary filter the jars for classpath.

  Returns:
    a list of `File`s

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-2010 MuleSoft, Inc.. All Rights Reserved.