public class PropertiesDescriptorParser extends Object implements DescriptorParser
Modifier and Type | Field and Description |
---|---|
protected static String |
PROPERTY_CONFIG_BUILDER |
protected static String |
PROPERTY_CONFIG_RESOURCES |
protected static String |
PROPERTY_DOMAIN |
protected static String |
PROPERTY_ENCODING |
static String |
PROPERTY_LOADER_OVERRIDE |
protected static String |
PROPERTY_LOG_CONFIG_FILE |
static String |
PROPERTY_REDEPLOYMENT_ENABLED |
protected static String |
PROPERTY_SCAN_PACKAGES |
Constructor and Description |
---|
PropertiesDescriptorParser() |
Modifier and Type | Method and Description |
---|---|
String |
getSupportedFormat() |
ApplicationDescriptor |
parse(File descriptor,
String applicationName) |
protected String |
toAbsoluteFile(String path,
String appName)
Resolve a resource relative to an application root.
|
public static final String PROPERTY_REDEPLOYMENT_ENABLED
public static final String PROPERTY_LOADER_OVERRIDE
protected static final String PROPERTY_ENCODING
protected static final String PROPERTY_CONFIG_BUILDER
protected static final String PROPERTY_DOMAIN
protected static final String PROPERTY_CONFIG_RESOURCES
protected static final String PROPERTY_LOG_CONFIG_FILE
protected static final String PROPERTY_SCAN_PACKAGES
public ApplicationDescriptor parse(File descriptor, String applicationName) throws IOException
parse
in interface DescriptorParser
IOException
protected String toAbsoluteFile(String path, String appName)
path
- the relative path to resolvepublic String getSupportedFormat()
getSupportedFormat
in interface DescriptorParser
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.