|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.application.mgt.ApplicationAdmin
public class ApplicationAdmin
| Field Summary |
|---|
| Fields inherited from class org.wso2.carbon.core.AbstractAdmin |
|---|
axisConfig, configurationContext |
| Constructor Summary | |
|---|---|
ApplicationAdmin()
|
|
| Method Summary | |
|---|---|
void |
deleteAllFaultyAppliations()
|
void |
deleteApplication(String appName)
Deletes an entire application by deleting all its artifacts |
void |
deleteFaultyApplication(String[] faultyAppName)
Deletes an entire application by deleting all its artifacts |
DataHandler |
downloadCappArchive(String fileName)
Used to download a carbon application archive. |
ApplicationMetadata |
getAppData(String appName)
Gives an ApplicationMetadata object with axis2 artifacts deployed through the given app. |
String |
getFaultException(String faultCarbonAppName)
Gives Fault Reason of the given Faulty Carbon Application |
String[] |
listAllApplications()
Give the names of all applications in the system |
String[] |
listAllFaultyApplications()
Give the names of all faulty applications in the system |
| Methods inherited from class org.wso2.carbon.core.AbstractAdmin |
|---|
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationAdmin()
| Method Detail |
|---|
public String[] listAllApplications()
throws Exception
Exception - - error on getting carbon app service
public String[] listAllFaultyApplications()
throws Exception
Exception - - error on getting carbon app service
public String getFaultException(String faultCarbonAppName)
throws Exception
faultCarbonAppName - - name of the faulty Application
Exception - - error on getting carbon app service
public void deleteApplication(String appName)
throws Exception
appName - - name of the Application to be deleted
Exception - - invalid scenarios
public void deleteFaultyApplication(String[] faultyAppName)
throws Exception
faultyAppName - - name of the Application to be deleted
Exception - - error on getting carbon app service
public void deleteAllFaultyAppliations()
throws Exception
Exception
public ApplicationMetadata getAppData(String appName)
throws Exception
appName - - input app name
Exception - - error on retrieving metadata
public DataHandler downloadCappArchive(String fileName)
throws Exception
fileName - the name of the application archive (.car) to be downloaded
Exception - for invalid scenarios
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||