1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.module.launcher.application; |
12 | |
|
13 | |
import org.mule.api.MuleContext; |
14 | |
import org.mule.module.launcher.DeploymentStartException; |
15 | |
import org.mule.module.launcher.InstallException; |
16 | |
import org.mule.module.launcher.descriptor.ApplicationDescriptor; |
17 | |
|
18 | |
public interface Application |
19 | |
{ |
20 | |
void install() throws InstallException; |
21 | |
|
22 | |
void init(); |
23 | |
|
24 | |
void start() throws DeploymentStartException; |
25 | |
|
26 | |
void stop(); |
27 | |
|
28 | |
void dispose(); |
29 | |
|
30 | |
void redeploy(); |
31 | |
|
32 | |
MuleContext getMuleContext(); |
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
ClassLoader getDeploymentClassLoader(); |
38 | |
|
39 | |
String getAppName(); |
40 | |
|
41 | |
ApplicationDescriptor getDescriptor(); |
42 | |
} |