|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IJmsProvider
IJmsProvider wraps an implementation of a JMS provider with any conversion needed in order for Anzo's notification system to work.
| Field Summary | |
|---|---|
static java.lang.String |
SELECTOR_NOT_TRANSACTION_BEGIN
Constant added to JMS selectors in order to not get all transactionBegin messages |
static java.lang.String |
SELECTOR_NOT_TRANSACTION_COMPLETE
Constant added to JMS selectors in order to not get all transactionComplete messages |
static java.lang.String |
SELECTOR_TRANSACTION_BEGIN
Constant added to JMS selectors in order to get all transactionBegin messages |
static java.lang.String |
SELECTOR_TRANSACTION_COMPLETE
Constant added to JMS selectors in order to get all transactionComplete messages |
| Method Summary | |
|---|---|
void |
connectProvider(javax.jms.Session session,
javax.jms.Destination updateDestination,
javax.jms.MessageListener listener)
Do any provider specific operations in order to finish connecting to provider. |
javax.jms.Destination |
convertReplyToDestination(javax.jms.Session session,
javax.jms.Destination destination)
Do any provider specific operations that are needed in order to convert a replyToDestination to a Destination object that the provider can send messages. |
java.lang.String |
convertSelectorString(java.lang.String selector)
Do any provider specific operations in order to make a selector string valid for the provider |
javax.jms.Destination |
convertStringToDestination(javax.jms.Session session,
java.lang.String destination)
Do any provider specific operations that are needed in order to convert a String representation of a Destination to a Destination object that the provider can send messages. |
javax.jms.ConnectionFactory |
createConnectionFactory(java.util.Properties properties)
Create a new JMS ConnectionFactory given a set of properties. |
void |
disconnectProvider()
Do any provider specific operations in order to finish disconnecting from a provider. |
| Field Detail |
|---|
static final java.lang.String SELECTOR_TRANSACTION_COMPLETE
static final java.lang.String SELECTOR_TRANSACTION_BEGIN
static final java.lang.String SELECTOR_NOT_TRANSACTION_COMPLETE
static final java.lang.String SELECTOR_NOT_TRANSACTION_BEGIN
| Method Detail |
|---|
javax.jms.ConnectionFactory createConnectionFactory(java.util.Properties properties)
throws javax.jms.JMSException
properties - Configuration properties for the ConnectionFactory
javax.jms.JMSException - if there is an exception creating a ConnectionFactoryConnectionFactory
javax.jms.Destination convertReplyToDestination(javax.jms.Session session,
javax.jms.Destination destination)
throws javax.jms.JMSException
session - Session destination is a member ofdestination - Destination to convert
javax.jms.JMSException
javax.jms.Destination convertStringToDestination(javax.jms.Session session,
java.lang.String destination)
throws javax.jms.JMSException
session - Session destination is a member ofdestination - String representation of destination to convert
javax.jms.JMSExceptionjava.lang.String convertSelectorString(java.lang.String selector)
selector - Selector string to convert
void connectProvider(javax.jms.Session session,
javax.jms.Destination updateDestination,
javax.jms.MessageListener listener)
throws javax.jms.JMSException
session - Session operation is occurring withinupdateDestination - The Destination object representing the updateDestinationlistener - The messageListener for said connection.
javax.jms.JMSException
void disconnectProvider()
throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||