1 17 18 package org.apache.geronimo.deployment.plugin; 19 20 import java.util.Enumeration ; 21 import java.io.FileNotFoundException ; 22 import java.io.InputStream ; 23 import javax.enterprise.deploy.model.J2eeApplicationObject ; 24 import javax.enterprise.deploy.model.DDBeanRoot ; 25 import javax.enterprise.deploy.model.XpathListener ; 26 import javax.enterprise.deploy.model.DDBean ; 27 import javax.enterprise.deploy.model.DeployableObject ; 28 import javax.enterprise.deploy.model.exceptions.DDBeanCreateException; 29 import javax.enterprise.deploy.shared.ModuleType ; 30 31 36 public class Application implements J2eeApplicationObject { 37 private final DDBeanRoot root; 38 39 public Application(DDBeanRoot root) { 40 this.root = root; 41 } 42 43 public void addXpathListener(ModuleType type, String xpath, XpathListener xpl) { 44 throw new UnsupportedOperationException (); 45 } 46 47 public Enumeration entries() { 48 throw new UnsupportedOperationException (); 49 } 50 51 public DDBean [] getChildBean(ModuleType type, String xpath) { 52 throw new UnsupportedOperationException (); 53 } 54 55 public DDBean [] getChildBean(String xpath) { 56 throw new UnsupportedOperationException (); 57 } 58 59 public Class getClassFromScope(String className) { 60 throw new UnsupportedOperationException (); 61 } 62 63 public DDBeanRoot getDDBeanRoot() { 64 return root; 65 } 66 67 public DDBeanRoot getDDBeanRoot(String filename) throws FileNotFoundException , DDBeanCreateException { 68 throw new UnsupportedOperationException (); 69 } 70 71 public DeployableObject getDeployableObject(String uri) { 72 throw new UnsupportedOperationException (); 73 } 74 75 public DeployableObject [] getDeployableObjects() { 76 throw new UnsupportedOperationException (); 77 } 78 79 public DeployableObject [] getDeployableObjects(ModuleType type) { 80 throw new UnsupportedOperationException (); 81 } 82 83 public InputStream getEntry(String name) { 84 throw new UnsupportedOperationException (); 85 } 86 87 public String getModuleDTDVersion() { 88 throw new UnsupportedOperationException (); 89 } 90 91 public String [] getModuleUris() { 92 throw new UnsupportedOperationException (); 93 } 94 95 public String [] getModuleUris(ModuleType type) { 96 throw new UnsupportedOperationException (); 97 } 98 99 public String [] getText(ModuleType type, String xpath) { 100 throw new UnsupportedOperationException (); 101 } 102 103 public String [] getText(String xpath) { 104 throw new UnsupportedOperationException (); 105 } 106 107 public ModuleType getType() { 108 return ModuleType.EAR; 109 } 110 111 public void removeXpathListener(ModuleType type, String xpath, XpathListener xpl) { 112 throw new UnsupportedOperationException (); 113 } 114 } 115 | Popular Tags |