public interface Upgrade
void upgrade(String workspaceRoot, List<String> serviceUnitRoots) throws JBIException
Note that the component must ensure that it never holds open references to any files in the workspace root or any of the Service Unit roots upon returning from this method. Failure to do so will cause problems when the runtime attempts to complete the upgrade processing.
workspaceRoot - the workspace root for the new version of the
component that will replace the currently installed version. This is
populated with the contents of the original workspace root and the
component must update it to match the new version of the component.serviceUnitRoots - a list of directory paths to all of the Service
Units currently deployed to the component. The component must update all
of these to match the new version of the component.JBIException - when there is an error requiring that the upgrade
be terminated.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.