1 26 27 package org.objectweb.openccm.descriptor.softpkg.gui; 28 29 import org.objectweb.openccm.descriptor.softpkg.beans.*; 30 import org.objectweb.openccm.descriptor.softpkg.*; 31 32 39 public class DependencyZipper 40 { 41 47 53 56 public void 57 zipCall( 58 DependencyBean dependency 59 , org.objectweb.openccm.packaging.ZipFactory zip_factory 60 ) 61 { 62 SoftpkgrefBean softpkgref 64 = (SoftpkgrefBean) dependency.getSoftpkgref(); 65 if (softpkgref != null) 67 { 68 SoftpkgrefZipper sub_zipper 69 = (SoftpkgrefZipper) softpkgref 70 .getExtensionManager() 71 .getExtensionByName("gui.Zipper") 72 .getInstance(); 73 74 sub_zipper.zipCall(softpkgref, zip_factory); 75 } 76 77 ValuetypefactoryBean valuetypefactory 79 = (ValuetypefactoryBean) 80 dependency.getValuetypefactory(); 81 82 if (valuetypefactory != null) 84 { 85 ValuetypefactoryZipper sub_zipper 86 = (ValuetypefactoryZipper) valuetypefactory 87 .getExtensionManager() 88 .getExtensionByName("gui.Zipper") 89 .getInstance(); 90 91 sub_zipper.zipCall(valuetypefactory, zip_factory); 92 } 93 94 FileinarchiveBean fileinarchive 95 = (FileinarchiveBean) 96 dependency.getFileinarchive(); 97 98 if (fileinarchive != null) 100 { 101 FileinarchiveZipper sub_zipper 102 = (FileinarchiveZipper) fileinarchive 103 .getExtensionManager() 104 .getExtensionByName("gui.Zipper") 105 .getInstance(); 106 107 sub_zipper.zipCall(fileinarchive, zip_factory); 108 } 109 } 110 } 111 | Popular Tags |