1 19 20 package org.netbeans.modules.j2ee.dd.api.ejb; 21 22 import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException; 26 27 public interface MessageDriven extends Ejb { 28 29 public static final String MESSAGING_TYPE = "MessagingType"; public static final String TRANSACTION_TYPE = "TransactionType"; public static final String MESSAGE_DESTINATION_TYPE = "MessageDestinationType"; public static final String MESSAGE_DESTINATION_LINK = "MessageDestinationLink"; public static final String ACTIVATION_CONFIG = "ActivationConfig"; public static final String TRANSACTION_TYPE_BEAN = "Bean"; public static final String TRANSACTION_TYPE_CONTAINER = "Container"; 37 public void setTransactionType(String value); 38 39 public String getTransactionType(); 40 41 public void setMessageSelector(String value) throws VersionNotSupportedException; 42 43 public String getMessageSelector() throws VersionNotSupportedException; 44 45 public void setAcknowledgeMode(String value) throws VersionNotSupportedException; 46 47 public String getAcknowledgeMode() throws VersionNotSupportedException; 48 49 public void setMessageDrivenDestination(MessageDrivenDestination value) throws VersionNotSupportedException; 50 51 public MessageDrivenDestination getMessageDrivenDestination() throws VersionNotSupportedException; 52 53 public void setMessagingType(String value) throws VersionNotSupportedException; 55 56 public String getMessagingType() throws VersionNotSupportedException; 57 58 public void setMessageDestinationType(String value) throws VersionNotSupportedException; 59 60 public String getMessageDestinationType() throws VersionNotSupportedException; 61 62 public void setMessageDestinationLink(String value) throws VersionNotSupportedException; 63 64 public String getMessageDestinationLink() throws VersionNotSupportedException; 65 66 public void setActivationConfig(ActivationConfig value) throws VersionNotSupportedException; 67 68 public ActivationConfig getActivationConfig() throws VersionNotSupportedException; 69 70 public ActivationConfig newActivationConfig() throws VersionNotSupportedException; 71 72 74 void setMappedName(String value) throws VersionNotSupportedException; 75 String getMappedName() throws VersionNotSupportedException; 76 void setTimeoutMethod(NamedMethod valueInterface) throws VersionNotSupportedException; 77 NamedMethod getTimeoutMethod() throws VersionNotSupportedException; 78 void setAroundInvoke(int index, AroundInvoke valueInterface) throws VersionNotSupportedException; 79 AroundInvoke getAroundInvoke(int index) throws VersionNotSupportedException; 80 int sizeAroundInvoke() throws VersionNotSupportedException; 81 void setAroundInvoke(AroundInvoke[] value) throws VersionNotSupportedException; 82 AroundInvoke[] getAroundInvoke() throws VersionNotSupportedException; 83 int addAroundInvoke(AroundInvoke valueInterface) throws VersionNotSupportedException; 84 int removeAroundInvoke(AroundInvoke valueInterface) throws VersionNotSupportedException; 85 void setPersistenceContextRef(int index, PersistenceContextRef valueInterface) throws VersionNotSupportedException; 86 PersistenceContextRef getPersistenceContextRef(int index) throws VersionNotSupportedException; 87 int sizePersistenceContextRef() throws VersionNotSupportedException; 88 void setPersistenceContextRef(PersistenceContextRef[] value) throws VersionNotSupportedException; 89 PersistenceContextRef[] getPersistenceContextRef() throws VersionNotSupportedException; 90 int addPersistenceContextRef(PersistenceContextRef valueInterface) throws VersionNotSupportedException; 91 int removePersistenceContextRef(PersistenceContextRef valueInterface) throws VersionNotSupportedException; 92 void setPersistenceUnitRef(int index, PersistenceUnitRef valueInterface) throws VersionNotSupportedException; 93 PersistenceUnitRef getPersistenceUnitRef(int index) throws VersionNotSupportedException; 94 int sizePersistenceUnitRef() throws VersionNotSupportedException; 95 void setPersistenceUnitRef(PersistenceUnitRef[] value) throws VersionNotSupportedException; 96 PersistenceUnitRef[] getPersistenceUnitRef() throws VersionNotSupportedException; 97 int addPersistenceUnitRef(PersistenceUnitRef valueInterface) throws VersionNotSupportedException; 98 int removePersistenceUnitRef(PersistenceUnitRef valueInterface) throws VersionNotSupportedException; 99 void setPostConstruct(int index, LifecycleCallback valueInterface) throws VersionNotSupportedException; 100 LifecycleCallback getPostConstruct(int index) throws VersionNotSupportedException; 101 int sizePostConstruct() throws VersionNotSupportedException; 102 void setPostConstruct(LifecycleCallback[] value) throws VersionNotSupportedException; 103 LifecycleCallback[] getPostConstruct() throws VersionNotSupportedException; 104 int addPostConstruct(LifecycleCallback valueInterface) throws VersionNotSupportedException; 105 int removePostConstruct(LifecycleCallback valueInterface) throws VersionNotSupportedException; 106 void setPreDestroy(int index, LifecycleCallback valueInterface) throws VersionNotSupportedException; 107 LifecycleCallback getPreDestroy(int index) throws VersionNotSupportedException; 108 int sizePreDestroy() throws VersionNotSupportedException; 109 void setPreDestroy(LifecycleCallback[] value) throws VersionNotSupportedException; 110 LifecycleCallback[] getPreDestroy() throws VersionNotSupportedException; 111 int addPreDestroy(LifecycleCallback valueInterface) throws VersionNotSupportedException; 112 int removePreDestroy(LifecycleCallback valueInterface) throws VersionNotSupportedException; 113 NamedMethod newNamedMethod() throws VersionNotSupportedException; 114 AroundInvoke newAroundInvoke() throws VersionNotSupportedException; 115 PersistenceContextRef newPersistenceContextRef() throws VersionNotSupportedException; 116 PersistenceUnitRef newPersistenceUnitRef() throws VersionNotSupportedException; 117 LifecycleCallback newLifecycleCallback() throws VersionNotSupportedException; 118 119 } 120 121 | Popular Tags |