1 19 24 25 package org.netbeans.modules.j2ee.sun.dd.api.ejb; 26 27 import org.netbeans.modules.j2ee.sun.dd.api.VersionNotSupportedException; 28 29 30 import org.netbeans.modules.j2ee.sun.dd.api.common.EjbRef; 31 import org.netbeans.modules.j2ee.sun.dd.api.common.ResourceRef; 32 import org.netbeans.modules.j2ee.sun.dd.api.common.WebserviceEndpoint; 33 import org.netbeans.modules.j2ee.sun.dd.api.common.ResourceEnvRef; 34 import org.netbeans.modules.j2ee.sun.dd.api.common.ServiceRef; 35 import org.netbeans.modules.j2ee.sun.dd.api.common.MessageDestinationRef; 36 37 41 public interface Ejb extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean { 42 43 public static final String EJB_NAME = "EjbName"; public static final String JNDI_NAME = "JndiName"; public static final String EJB_REF = "EjbRef"; public static final String RESOURCE_REF = "ResourceRef"; public static final String RESOURCE_ENV_REF = "ResourceEnvRef"; public static final String SERVICE_REF = "ServiceRef"; public static final String PASS_BY_REFERENCE = "PassByReference"; public static final String CMP = "Cmp"; public static final String PRINCIPAL = "Principal"; public static final String MDB_CONNECTION_FACTORY = "MdbConnectionFactory"; public static final String JMS_DURABLE_SUBSCRIPTION_NAME = "JmsDurableSubscriptionName"; public static final String JMS_MAX_MESSAGES_LOAD = "JmsMaxMessagesLoad"; public static final String IOR_SECURITY_CONFIG = "IorSecurityConfig"; public static final String IS_READ_ONLY_BEAN = "IsReadOnlyBean"; public static final String REFRESH_PERIOD_IN_SECONDS = "RefreshPeriodInSeconds"; public static final String COMMIT_OPTION = "CommitOption"; public static final String CMT_TIMEOUT_IN_SECONDS = "CmtTimeoutInSeconds"; public static final String GEN_CLASSES = "GenClasses"; public static final String BEAN_POOL = "BeanPool"; public static final String BEAN_CACHE = "BeanCache"; public static final String MDB_RESOURCE_ADAPTER = "MdbResourceAdapter"; public static final String WEBSERVICE_ENDPOINT = "WebserviceEndpoint"; public static final String FLUSH_AT_END_OF_METHOD = "FlushAtEndOfMethod"; public static final String CHECKPOINTED_METHODS = "CheckpointedMethods"; public static final String CHECKPOINT_AT_END_OF_METHOD = "CheckpointAtEndOfMethod"; public static final String AVAILABILITYENABLED = "AvailabilityEnabled"; public static final String MESSAGE_DESTINATION_REF = "MessageDestinationRef"; 71 public void setEjbName(java.lang.String value); 72 public java.lang.String getEjbName(); 73 74 public void setJndiName(java.lang.String value); 75 public java.lang.String getJndiName(); 76 77 public EjbRef[] getEjbRef(); 78 public EjbRef getEjbRef(int index); 79 public void setEjbRef(EjbRef[] value); 80 public void setEjbRef(int index, EjbRef value); 81 public int addEjbRef(EjbRef value); 82 public int removeEjbRef(EjbRef value); 83 public int sizeEjbRef(); 84 public EjbRef newEjbRef(); 85 86 public ResourceRef[] getResourceRef(); 87 public ResourceRef getResourceRef(int index); 88 public void setResourceRef(ResourceRef[] value); 89 public void setResourceRef(int index, ResourceRef value); 90 public int addResourceRef(ResourceRef value); 91 public int removeResourceRef(ResourceRef value); 92 public int sizeResourceRef(); 93 public ResourceRef newResourceRef(); 94 95 public ResourceEnvRef[] getResourceEnvRef(); 96 public ResourceEnvRef getResourceEnvRef(int index); 97 public void setResourceEnvRef(ResourceEnvRef[] value); 98 public void setResourceEnvRef(int index, ResourceEnvRef value); 99 public int addResourceEnvRef(ResourceEnvRef value); 100 public int removeResourceEnvRef(ResourceEnvRef value); 101 public int sizeResourceEnvRef(); 102 public ResourceEnvRef newResourceEnvRef(); 103 104 public ServiceRef[] getServiceRef(); 105 public ServiceRef getServiceRef(int index); 106 public void setServiceRef(ServiceRef[] value); 107 public void setServiceRef(int index, ServiceRef value); 108 public int addServiceRef(ServiceRef value); 109 public int removeServiceRef(ServiceRef value); 110 public int sizeServiceRef(); 111 public ServiceRef newServiceRef(); 112 113 public void setPassByReference(java.lang.String value); 114 public java.lang.String getPassByReference(); 115 116 public void setCmp(Cmp value); 117 public Cmp getCmp(); 118 public Cmp newCmp(); 119 120 public void setPrincipal(Principal value); 121 public Principal getPrincipal(); 122 public Principal newPrincipal(); 123 124 public void setMdbConnectionFactory(MdbConnectionFactory value); 125 public MdbConnectionFactory getMdbConnectionFactory(); 126 public MdbConnectionFactory newMdbConnectionFactory(); 127 128 public void setJmsDurableSubscriptionName(java.lang.String value); 129 public java.lang.String getJmsDurableSubscriptionName(); 130 131 public void setJmsMaxMessagesLoad(java.lang.String value); 132 public java.lang.String getJmsMaxMessagesLoad(); 133 134 public void setIorSecurityConfig(IorSecurityConfig value); 135 public IorSecurityConfig getIorSecurityConfig(); 136 public IorSecurityConfig newIorSecurityConfig(); 137 138 public void setIsReadOnlyBean(java.lang.String value); 139 public java.lang.String getIsReadOnlyBean(); 140 141 public void setRefreshPeriodInSeconds(java.lang.String value); 142 public java.lang.String getRefreshPeriodInSeconds(); 143 144 public void setCommitOption(java.lang.String value); 145 public java.lang.String getCommitOption(); 146 147 public void setCmtTimeoutInSeconds(java.lang.String value); 148 public java.lang.String getCmtTimeoutInSeconds(); 149 150 public void setGenClasses(GenClasses value); 151 public GenClasses getGenClasses(); 152 153 public void setBeanPool(BeanPool value); 154 public BeanPool getBeanPool(); 155 public BeanPool newBeanPool(); 156 157 public void setBeanCache(BeanCache value); 158 public BeanCache getBeanCache(); 159 public BeanCache newBeanCache(); 160 161 public void setMdbResourceAdapter(MdbResourceAdapter value); 162 public MdbResourceAdapter getMdbResourceAdapter(); 163 public MdbResourceAdapter newMdbResourceAdapter(); 164 165 public WebserviceEndpoint[] getWebserviceEndpoint(); 166 public WebserviceEndpoint getWebserviceEndpoint(int index); 167 public void setWebserviceEndpoint(WebserviceEndpoint[] value); 168 public void setWebserviceEndpoint(int index, WebserviceEndpoint value); 169 public int addWebserviceEndpoint(WebserviceEndpoint value); 170 public int removeWebserviceEndpoint(WebserviceEndpoint value); 171 public int sizeWebserviceEndpoint(); 172 public WebserviceEndpoint newWebserviceEndpoint(); 173 174 178 public void setFlushAtEndOfMethod (FlushAtEndOfMethod value) throws VersionNotSupportedException; 179 182 public FlushAtEndOfMethod getFlushAtEndOfMethod () throws VersionNotSupportedException; 183 186 187 public FlushAtEndOfMethod newFlushAtEndOfMethod() throws VersionNotSupportedException; 188 189 public void setCheckpointedMethods (java.lang.String value) throws VersionNotSupportedException; 190 193 public java.lang.String getCheckpointedMethods () throws VersionNotSupportedException; 194 197 public void setCheckpointAtEndOfMethod (CheckpointAtEndOfMethod value) throws VersionNotSupportedException; 198 201 public CheckpointAtEndOfMethod getCheckpointAtEndOfMethod () throws VersionNotSupportedException; 202 203 public CheckpointAtEndOfMethod newCheckpointAtEndOfMethod() throws VersionNotSupportedException; 204 205 208 public void setAvailabilityEnabled(java.lang.String value) throws VersionNotSupportedException; 209 212 public java.lang.String getAvailabilityEnabled() throws VersionNotSupportedException; 213 214 public void setMessageDestinationRef(int index, MessageDestinationRef value) throws VersionNotSupportedException; 216 public MessageDestinationRef getMessageDestinationRef(int index) throws VersionNotSupportedException; 217 public int sizeMessageDestinationRef() throws VersionNotSupportedException; 218 public void setMessageDestinationRef(MessageDestinationRef[] value) throws VersionNotSupportedException; 219 public MessageDestinationRef[] getMessageDestinationRef() throws VersionNotSupportedException; 220 public int addMessageDestinationRef(MessageDestinationRef value) throws VersionNotSupportedException; 221 public int removeMessageDestinationRef(MessageDestinationRef value) throws VersionNotSupportedException; 222 public MessageDestinationRef newMessageDestinationRef() throws VersionNotSupportedException; 223 224 } 225 | Popular Tags |