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