1 19 package org.netbeans.modules.j2ee.sun.share.configbean; 20 21 import java.util.Collections ; 22 import java.util.List ; 23 import javax.enterprise.deploy.model.DDBean ; 24 25 26 39 public interface ConfigQuery { 40 41 47 public InterfaceData getEJBMethods(DDBean ejbDD); 48 49 55 public List getServiceMessages(DDBean serviceRefDD); 56 57 58 public static class InterfaceData { 59 private List homeInterface; 60 private List remoteInterface; 61 private List localHomeInterface; 62 private List localInterface; 63 64 public InterfaceData(List hi, List ri, List lhi, List li) { 65 homeInterface = Collections.unmodifiableList(hi); 66 remoteInterface = Collections.unmodifiableList(ri); 67 localHomeInterface = Collections.unmodifiableList(lhi); 68 localInterface = Collections.unmodifiableList(li); 69 } 70 71 public List getHomeInterface() { 72 return homeInterface; 73 } 74 75 public List getRemoteInterface() { 76 return remoteInterface; 77 } 78 79 public List getLocalHomeInterface() { 80 return localHomeInterface; 81 } 82 83 public List getLocalInterface() { 84 return localInterface; 85 } 86 } 87 88 public static class MethodData { 89 private String name; 90 private List parameters; 91 92 public MethodData(String n, List p) { 93 name = n; 94 parameters = Collections.unmodifiableList(p); 95 } 96 97 public String getOperationName() { 98 return name; 99 } 100 101 public List getParameters() { 102 return parameters; 103 } 104 } 105 } 106 | Popular Tags |