Take a survey

Developing Applications Using APIs > Deploying LiveCycle Applications > Removing Applications > Removing an application using the Java API

Removing an application using the Java API
To remove an application by using the Java API, perform the following steps:
1.
Include client JAR files, such as adobe-livecycle-client.jar, in your Java project’s class path. (See Including LiveCycle ES library files.)
2.
Create a ServiceClientFactory object that contains connection properties. (See Setting connection properties.)
Create an ApplicationManager object by invoking its constructor and passing the ServiceClientFactory object that contains connection properties.
3.
Retrieve all applications by invoking the ApplicationManager object’s getApplications method. This method returns a java.util.List object where each element is an Application object.
Create an ApplicationId object by invoking the Application object’s getApplicationId method.
Get the application name by invoking the ApplicationId object’s getApplicationName method. This method returns a string value that specifies the application name. If the application name corresponds to the application that you want to remove, you can use the ApplicationId object to remove the application.
4.
After you locate the application to remove, invoke the ApplicationManager object’s removeApplication method and pass the ApplicationId object that represents the application to remove.
View Quick Start

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/appRemoving.151.3.html