1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.module.launcher.descriptor; |
12 | |
|
13 | |
import java.util.HashMap; |
14 | |
import java.util.Map; |
15 | |
|
16 | |
|
17 | 0 | public class ApplicationDescriptor |
18 | |
{ |
19 | |
public static final String DEFAULT_CONFIGURATION_RESOURCE = "mule-config.xml"; |
20 | |
public static final String DEFAULT_APP_PROPERTIES_RESOURCE = "mule-app.properties"; |
21 | |
|
22 | |
private String appName; |
23 | |
private String encoding; |
24 | |
private String configurationBuilder; |
25 | |
private String domain; |
26 | 0 | private boolean parentFirstClassLoader = true; |
27 | 0 | private String[] configResources = new String[] {DEFAULT_CONFIGURATION_RESOURCE}; |
28 | 0 | private Map<String, String> appProperties = new HashMap<String, String>(); |
29 | |
|
30 | 0 | private boolean redeploymentEnabled = true; |
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
public static final String CLASSNAME_SPRING_CONFIG_BUILDER = "org.mule.config.spring.SpringXmlConfigurationBuilder"; |
36 | |
|
37 | |
public String getAppName() |
38 | |
{ |
39 | 0 | return appName; |
40 | |
} |
41 | |
|
42 | |
public void setAppName(String appName) |
43 | |
{ |
44 | 0 | this.appName = appName; |
45 | 0 | } |
46 | |
|
47 | |
public String getEncoding() |
48 | |
{ |
49 | 0 | return encoding; |
50 | |
} |
51 | |
|
52 | |
public void setEncoding(String encoding) |
53 | |
{ |
54 | 0 | this.encoding = encoding; |
55 | 0 | } |
56 | |
|
57 | |
public Map<String, String> getAppProperties() |
58 | |
{ |
59 | 0 | return appProperties; |
60 | |
} |
61 | |
|
62 | |
public void setAppProperties(Map<String, String> appProperties) |
63 | |
{ |
64 | 0 | this.appProperties = appProperties; |
65 | 0 | } |
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
public String getConfigurationBuilder() |
74 | |
{ |
75 | 0 | return configurationBuilder; |
76 | |
} |
77 | |
|
78 | |
public void setConfigurationBuilder(String configurationBuilder) |
79 | |
{ |
80 | 0 | this.configurationBuilder = configurationBuilder; |
81 | 0 | } |
82 | |
|
83 | |
|
84 | |
public String getDomain() |
85 | |
{ |
86 | 0 | return domain; |
87 | |
} |
88 | |
|
89 | |
public void setDomain(String domain) |
90 | |
{ |
91 | 0 | this.domain = domain; |
92 | 0 | } |
93 | |
|
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
|
99 | |
public boolean isParentFirstClassLoader() |
100 | |
{ |
101 | 0 | return parentFirstClassLoader; |
102 | |
} |
103 | |
|
104 | |
public void setParentFirstClassLoader(boolean parentFirstClassLoader) |
105 | |
{ |
106 | 0 | this.parentFirstClassLoader = parentFirstClassLoader; |
107 | 0 | } |
108 | |
|
109 | |
public String[] getConfigResources() |
110 | |
{ |
111 | 0 | return configResources; |
112 | |
} |
113 | |
|
114 | |
public void setConfigResources(String[] configResources) |
115 | |
{ |
116 | 0 | this.configResources = configResources; |
117 | 0 | } |
118 | |
|
119 | |
public boolean isRedeploymentEnabled() |
120 | |
{ |
121 | 0 | return redeploymentEnabled; |
122 | |
} |
123 | |
|
124 | |
public void setRedeploymentEnabled(boolean redeploymentEnabled) |
125 | |
{ |
126 | 0 | this.redeploymentEnabled = redeploymentEnabled; |
127 | 0 | } |
128 | |
} |