|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationManagerService
OSGi service interface for the Application Management
| Method Summary | |
|---|---|
void |
deployCarbonApp(String archPath,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Deploy the provided carbon App.. |
ArrayList<CarbonApplication> |
getCarbonApps(String tenantId)
Returns all deployed carbon apps in the system |
HashMap<String,Exception> |
getFaultyCarbonApps(String tenantId)
Get the list of faulty CarbonApplications for the give tenant id. |
void |
registerDeploymentHandler(AppDeploymentHandler handler)
All app deployers register their instances throgh this method |
void |
undeployCarbonApp(CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Undeploy the provided carbon App.. |
void |
unregisterDeploymentHandler(AppDeploymentHandler handler)
Unregister the specified handler if it is already regitered |
| Method Detail |
|---|
void registerDeploymentHandler(AppDeploymentHandler handler)
handler - - app deployer which implements the AppDeploymentHandler interfacevoid unregisterDeploymentHandler(AppDeploymentHandler handler)
handler - - input deployer handler
void deployCarbonApp(String archPath,
org.apache.axis2.engine.AxisConfiguration axisConfig)
throws Exception
archPath - - carbon app archive pathaxisConfig - - AxisConfiguration of the current tenant
Exception - - error on registry actions
void undeployCarbonApp(CarbonApplication carbonApp,
org.apache.axis2.engine.AxisConfiguration axisConfig)
carbonApp - - CarbonApplication instanceaxisConfig - - AxisConfiguration of the current tenantArrayList<CarbonApplication> getCarbonApps(String tenantId)
tenantId - - tenant id to find cApps
HashMap<String,Exception> getFaultyCarbonApps(String tenantId)
tenantId - - tenant id to find faulty cApps
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||