Interface ApplicationManagerService
- All Known Implementing Classes:
ApplicationManager
public interface ApplicationManagerService
OSGi service interface for the Application Management
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeployCarbonApp(String archPath, org.apache.axis2.engine.AxisConfiguration axisConfig) Deploy the provided carbon App..getCarbonApps(String tenantId) Returns all deployed carbon apps in the systemgetFaultyCarbonApps(String tenantId) Get the list of faulty CarbonApplications for the give tenant id.voidAll app deployers register their instances throgh this methodvoidundeployCarbonApp(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig) Undeploy the provided carbon App..voidUnregister the specified handler if it is already regitered
-
Method Details
-
registerDeploymentHandler
All app deployers register their instances throgh this method- Parameters:
handler- - app deployer which implements the AppDeploymentHandler interface
-
unregisterDeploymentHandler
Unregister the specified handler if it is already regitered- Parameters:
handler- - input deployer handler
-
deployCarbonApp
void deployCarbonApp(String archPath, org.apache.axis2.engine.AxisConfiguration axisConfig) throws Exception Deploy the provided carbon App..- Parameters:
archPath- - carbon app archive pathaxisConfig- - AxisConfiguration of the current tenant- Throws:
Exception- - error on registry actions
-
undeployCarbonApp
void undeployCarbonApp(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig) Undeploy the provided carbon App..- Parameters:
carbonApp- - CarbonApplication instanceaxisConfig- - AxisConfiguration of the current tenant
-
getCarbonApps
Returns all deployed carbon apps in the system- Parameters:
tenantId- - tenant id to find cApps- Returns:
- List of carbon apps
-
getFaultyCarbonApps
Get the list of faulty CarbonApplications for the give tenant id. If the list is null, return an empty Arraylist- Parameters:
tenantId- - tenant id to find faulty cApps- Returns:
- - list of tenant faulty cApps
-