|
org.netbeans.modules.j2eeserver/4 1.89.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageDestinationConfiguration
Configuration useful for managing module message destinations.
Implementation of this interface should be registered in the ModuleConfiguration
lookup.
| Method Summary | |
|---|---|
void |
bindMdbToMessageDestination(String mdbName,
String name,
MessageDestination.Type type)
Binds the message destination name with message-driven bean. |
void |
bindMessageDestinationReference(String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
Binds the message destination reference name with the corresponding message destination which is identified by the given name. |
void |
bindMessageDestinationReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
Binds the message destination reference name with the corresponding message destination which is identified by the given name. |
MessageDestination |
createMessageDestination(String name,
MessageDestination.Type type)
Creates and saves a message destination in the module if it does not exist in the module yet. |
String |
findMessageDestinationName(String mdbName)
Finds name of message destination which the given MDB listens to |
Set<MessageDestination> |
getMessageDestinations()
Retrieves message destinations stored in the module. |
boolean |
supportsCreateMessageDestination()
Tests whether a message destination creation is supported. |
| Method Detail |
|---|
Set<MessageDestination> getMessageDestinations()
throws ConfigurationException
ConfigurationException - if there is some problem with message destination configurationboolean supportsCreateMessageDestination()
MessageDestination createMessageDestination(String name,
MessageDestination.Type type)
throws UnsupportedOperationException,
ConfigurationException
name - name of the message destinationtype - message destination type; the value is of
org.netbeans.modules.j2ee.deployment.common.api.MessageDestination.Type type
UnsupportedOperationException - if this opearation is not supported
ConfigurationException - if there is some problem with message destination configuration
void bindMdbToMessageDestination(String mdbName,
String name,
MessageDestination.Type type)
throws ConfigurationException
mdbName - MDB namename - name of the message destinationtype - message destination type; the value is of
ConfigurationException - if there is some problem with message destination configuration
String findMessageDestinationName(String mdbName)
throws ConfigurationException
mdbName - MDB name
ConfigurationException - if there is some problem with message destination configuration
void bindMessageDestinationReference(String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
throws ConfigurationException
referenceName - reference name used to identify the message destinationconnectionFactoryName - connection factory namedestName - name of the message destinationtype - message destination type
ConfigurationException - if there is some problem with message destination configuration
void bindMessageDestinationReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
throws ConfigurationException
ejbName - EJB nameejbType - EJB type - the possible values are
org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.SESSION,
org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.ENTITY and
org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.MESSAGE_DRIVENreferenceName - reference name used to identify the message destinationconnectionFactoryName - connection factory namedestName - name of the message destinationtype - message destination type
ConfigurationException - if there is some problem with message destination configuration
|
org.netbeans.modules.j2eeserver/4 1.89.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||