1 19 20 package org.netbeans.tests.j2eeserver.devmodule; 21 22 import org.netbeans.modules.schema2beans.*; 23 import org.openide.filesystems.FileObject; 24 25 29 public class TestJ2eeModule implements org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule { 30 Object moduleType; 31 FileObject archive; 32 33 34 public TestJ2eeModule(Object type, FileObject archive) { 35 moduleType = type; 36 this.archive = archive; 37 } 38 39 public org.openide.filesystems.FileObject getArchive() { 40 return archive; 41 } 42 43 public java.util.Iterator getArchiveContents() { 44 return new java.util.Vector (0).iterator(); 45 } 46 47 public org.openide.filesystems.FileObject getContentDirectory() { 48 return null; 49 } 50 51 public BaseBean getDeploymentDescriptor(String location) { 52 return null; 53 } 54 55 56 public Object getModuleType() { 57 return moduleType; 58 } 59 60 public String getModuleVersion() { 61 return "0.0.0"; 62 } 63 64 public String getUrl() { 65 return null; 66 } 67 68 public void setUrl(String url) { 69 } 71 72 public void addVersionListener(org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule.VersionListener ml) { 73 } 74 75 public void removeVersionListener(org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule.VersionListener ml) { 76 } 77 78 } 79 | Popular Tags |