org.mule.module.launcher.descriptor
Class PropertiesDescriptorParser

java.lang.Object
  extended by org.mule.module.launcher.descriptor.PropertiesDescriptorParser
All Implemented Interfaces:
DescriptorParser

public class PropertiesDescriptorParser
extends Object
implements DescriptorParser


Field Summary
protected static String PROPERTY_CONFIG_BUILDER
           
protected static String PROPERTY_CONFIG_RESOURCES
           
protected static String PROPERTY_DOMAIN
           
protected static String PROPERTY_ENCODING
           
protected static String PROPERTY_LOADER_OVERRIDE
           
protected static String PROPERTY_REDEPLOYMENT_ENABLED
           
protected static String PROPERTY_SCAN_PACKAGES
           
 
Constructor Summary
PropertiesDescriptorParser()
           
 
Method Summary
 String getSupportedFormat()
           
 ApplicationDescriptor parse(File descriptor, String applicationName)
           
protected  String toAbsoluteFile(String path, String appName)
          Resolve a resource relative to an application root.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_ENCODING

protected static final String PROPERTY_ENCODING
See Also:
Constant Field Values

PROPERTY_CONFIG_BUILDER

protected static final String PROPERTY_CONFIG_BUILDER
See Also:
Constant Field Values

PROPERTY_DOMAIN

protected static final String PROPERTY_DOMAIN
See Also:
Constant Field Values

PROPERTY_CONFIG_RESOURCES

protected static final String PROPERTY_CONFIG_RESOURCES
See Also:
Constant Field Values

PROPERTY_REDEPLOYMENT_ENABLED

protected static final String PROPERTY_REDEPLOYMENT_ENABLED
See Also:
Constant Field Values

PROPERTY_LOADER_OVERRIDE

protected static final String PROPERTY_LOADER_OVERRIDE
See Also:
Constant Field Values

PROPERTY_SCAN_PACKAGES

protected static final String PROPERTY_SCAN_PACKAGES
See Also:
Constant Field Values
Constructor Detail

PropertiesDescriptorParser

public PropertiesDescriptorParser()
Method Detail

parse

public ApplicationDescriptor parse(File descriptor,
                                   String applicationName)
                            throws IOException
Specified by:
parse in interface DescriptorParser
Throws:
IOException

toAbsoluteFile

protected String toAbsoluteFile(String path,
                                String appName)
Resolve a resource relative to an application root.

Parameters:
path - the relative path to resolve
Returns:
absolute path, may not actually exist (check with File.exists())

getSupportedFormat

public String getSupportedFormat()
Specified by:
getSupportedFormat in interface DescriptorParser


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.