1 19 20 package org.netbeans.modules.j2ee.dd.api.ejb; 21 22 26 import org.netbeans.modules.j2ee.dd.api.common.CommonDDBean; 27 import org.netbeans.modules.j2ee.dd.api.common.ComponentInterface; 28 import org.netbeans.modules.j2ee.dd.api.common.EjbLocalRef; 29 import org.netbeans.modules.j2ee.dd.api.common.EjbRef; 30 import org.netbeans.modules.j2ee.dd.api.common.ResourceRef; 31 import org.netbeans.modules.j2ee.dd.api.common.ServiceRef; 32 import org.netbeans.modules.j2ee.dd.api.common.EnvEntry; 33 import org.netbeans.modules.j2ee.dd.api.common.ResourceEnvRef; 34 import org.netbeans.modules.j2ee.dd.api.common.MessageDestinationRef; 35 import org.netbeans.modules.j2ee.dd.api.common.EnvEntry; 36 import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException; 37 38 public interface Ejb extends CommonDDBean, ComponentInterface { 39 40 public static final String EJB_NAME = "EjbName"; public static final String EJB_CLASS = "EjbClass"; public static final String ENV_ENTRY = "EnvEntry"; public static final String EJB_REF = "EjbRef"; public static final String EJB_LOCAL_REF = "EjbLocalRef"; public static final String SERVICE_REF = "ServiceRef"; public static final String RESOURCE_REF = "ResourceRef"; public static final String RESOURCE_ENV_REF = "ResourceEnvRef"; public static final String MESSAGE_DESTINATION_REF = "MessageDestinationRef"; public static final String SECURITY_IDENTITY = "SecurityIdentity"; 52 public EjbJar getRoot(); 53 54 public String getEjbName(); 55 56 public void setEjbName(String value); 57 58 public String getEjbClass(); 59 60 public void setEjbClass(String value); 61 62 public void setEnvEntry(int index, EnvEntry value); 63 64 public EnvEntry getEnvEntry(int index); 65 66 public void setEnvEntry(EnvEntry[] value); 67 68 public EnvEntry[] getEnvEntry(); 69 70 public int addEnvEntry(EnvEntry value); 71 72 public int removeEnvEntry(EnvEntry value); 73 74 public int sizeEnvEntry(); 75 76 public EnvEntry newEnvEntry(); 77 78 public void setEjbRef(int index, EjbRef value); 79 80 public EjbRef getEjbRef(int index); 81 82 public void setEjbRef(EjbRef[] value); 83 84 public EjbRef[] getEjbRef(); 85 86 public int removeEjbRef(org.netbeans.modules.j2ee.dd.api.common.EjbRef value); 87 88 public int addEjbRef(org.netbeans.modules.j2ee.dd.api.common.EjbRef value); 89 90 public int sizeEjbRef(); 91 92 public EjbRef newEjbRef(); 93 94 public void setEjbLocalRef(int index, EjbLocalRef value); 95 96 public EjbLocalRef getEjbLocalRef(int index); 97 98 public void setEjbLocalRef(EjbLocalRef[] value); 99 100 public EjbLocalRef[] getEjbLocalRef(); 101 102 public int addEjbLocalRef(org.netbeans.modules.j2ee.dd.api.common.EjbLocalRef value); 103 104 public int removeEjbLocalRef(org.netbeans.modules.j2ee.dd.api.common.EjbLocalRef value); 105 106 public int sizeEjbLocalRef(); 107 108 public EjbLocalRef newEjbLocalRef(); 109 110 public SecurityIdentity getSecurityIdentity (); 111 112 public void setSecurityIdentity (SecurityIdentity value); 113 114 public SecurityIdentity newSecurityIdentity(); 115 116 public void setResourceRef(int index, ResourceRef value); 117 118 public ResourceRef getResourceRef(int index); 119 120 public void setResourceRef(ResourceRef[] value); 121 122 public ResourceRef[] getResourceRef(); 123 124 public int removeResourceRef(org.netbeans.modules.j2ee.dd.api.common.ResourceRef value); 125 126 public int sizeResourceRef(); 127 128 public int addResourceRef(org.netbeans.modules.j2ee.dd.api.common.ResourceRef value); 129 130 public ResourceRef newResourceRef(); 131 132 public void setResourceEnvRef(int index, ResourceEnvRef value); 133 134 public ResourceEnvRef getResourceEnvRef(int index); 135 136 public void setResourceEnvRef(ResourceEnvRef[] value); 137 138 public ResourceEnvRef[] getResourceEnvRef(); 139 140 public int sizeResourceEnvRef(); 141 142 public int addResourceEnvRef(ResourceEnvRef value); 143 144 public int removeResourceEnvRef(ResourceEnvRef value); 145 146 public ResourceEnvRef newResourceEnvRef(); 147 148 public void setMessageDestinationRef(int index, MessageDestinationRef value) throws VersionNotSupportedException; 150 151 public MessageDestinationRef getMessageDestinationRef(int index) throws VersionNotSupportedException; 152 153 public void setMessageDestinationRef(MessageDestinationRef[] value) throws VersionNotSupportedException; 154 155 public MessageDestinationRef[] getMessageDestinationRef() throws VersionNotSupportedException; 156 157 public int removeMessageDestinationRef(MessageDestinationRef value) throws VersionNotSupportedException; 158 159 public int sizeMessageDestinationRef() throws VersionNotSupportedException; 160 161 public int addMessageDestinationRef(MessageDestinationRef value) throws VersionNotSupportedException; 162 163 public MessageDestinationRef newMessageDestinationRef() throws VersionNotSupportedException; 164 165 public void setServiceRef(int index, ServiceRef value) throws VersionNotSupportedException; 166 167 public ServiceRef getServiceRef(int index) throws VersionNotSupportedException; 168 169 public void setServiceRef(ServiceRef[] value) throws VersionNotSupportedException; 170 171 public ServiceRef[] getServiceRef() throws VersionNotSupportedException; 172 173 public int removeServiceRef(ServiceRef value) throws VersionNotSupportedException; 174 175 public int sizeServiceRef() throws VersionNotSupportedException; 176 177 public int addServiceRef(ServiceRef value) throws VersionNotSupportedException; 178 179 public ServiceRef newServiceRef() throws VersionNotSupportedException; 180 181 } 182 183 | Popular Tags |