org.mule.module.launcher.descriptor
Class PropertiesDescriptorParser
java.lang.Object
org.mule.module.launcher.descriptor.PropertiesDescriptorParser
- All Implemented Interfaces:
- DescriptorParser
public class PropertiesDescriptorParser
- extends Object
- implements DescriptorParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PropertiesDescriptorParser
public PropertiesDescriptorParser()
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.