|
|
Include client JAR files, such as adobe-workflow-client-sdk.jar, in your Java project’s class path. (See Including LiveCycle ES library files.)
• Create a ServiceClientFactory object that contains connection properties. (See Setting connection properties.)
• Create a ComponentRegistryClient object by using its constructor and passing a ServiceClientFactory object that contains connection properties.Retrieve the component to remove by invoking the ComponentRegistryClient object’s getComponent method and passing a string value that specifies the component identifier. This method returns a Component object.
• Determine whether the component is running by invoking the Component object’s getState method. This method returns a static member of Component. If the component is in a running state, this method returns Component.RUNNING.
• If the component is in a running state, stop the component by invoking the ComponentRegistryClient object’s stop method and passing the Component object.Uninstall the component by invoking the ComponentRegistryClient object’s uninstall method and passing the Component object.
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/removingComponents.147.3.html