Package org.apache.geronimo.st.core.operations

Examples of org.apache.geronimo.st.core.operations.SharedLibEntryCreationOperation


 
  private IStatus updateSharedLib(IModule[] module, IProgressMonitor monitor) {
    IDataModel model = DataModelFactory.createDataModel(new SharedLibEntryDataModelProvider());
    model.setProperty(ISharedLibEntryCreationDataModelProperties.MODULES, module);
    model.setProperty(ISharedLibEntryCreationDataModelProperties.SERVER, getServer());
    IDataModelOperation op = new SharedLibEntryCreationOperation(model);
    try {
      op.execute(monitor, null);
    } catch (ExecutionException e) {
      return new Status(IStatus.ERROR, Activator.PLUGIN_ID, 0, e.getMessage(), e.getCause());
    }
    return Status.OK_STATUS;
  }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.st.core.operations.SharedLibEntryCreationOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.