1 26 27 package org.objectweb.openccm.descriptor.componentassembly.gui; 28 29 import org.objectweb.openccm.descriptor.componentassembly.beans.*; 30 import org.objectweb.openccm.descriptor.componentassembly.*; 31 32 39 public class ComponentassemblyZipper 40 { 41 47 53 public void 54 zipCall( 55 ComponentassemblyBean componentassembly 56 , org.objectweb.openccm.packaging.ZipFactory zip_factory 57 ) 58 { 59 ComponentfilesBean componentfiles 61 = (ComponentfilesBean) componentassembly.getComponentfiles(); 62 if (componentfiles != null) 64 { 65 ComponentfilesZipper sub_zipper 66 = (ComponentfilesZipper) componentfiles 67 .getExtensionManager() 68 .getExtensionByName("gui.Zipper") 69 .getInstance(); 70 71 sub_zipper.zipCall(componentfiles, zip_factory); 72 } 73 74 PartitioningBean partitioning 76 = (PartitioningBean) componentassembly.getPartitioning(); 77 if (partitioning != null) 79 { 80 PartitioningZipper sub_zipper 81 = (PartitioningZipper) partitioning 82 .getExtensionManager() 83 .getExtensionByName("gui.Zipper") 84 .getInstance(); 85 86 sub_zipper.zipCall(partitioning, zip_factory); 87 } 88 } 89 } 90 | Popular Tags |