public class BusinessEventConnectionFactorySupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AQJMS_LOCAL_TX_DATASOURCE |
static String |
AQJMS_XA_DATASOURCE |
static String |
JDNI_USER_TRANSACTION |
static String |
JNDI_DATASOURCE_NAME |
static String |
JNDI_LOCAL_TX_DATASOURCE_NAME |
static String |
JNDI_LOCALTX_DURABLE_JCA_FACTORY_NAME |
static String |
JNDI_LOCALTX_JCA_FACTORY_NAME |
static String |
JNDI_LOGICAL_DATASOURCE_NAME |
static String |
JNDI_LOGICAL_LOCAL_TX_DATASOURCE_NAME |
static String |
JNDI_OLD_DATASOURCE_NAME |
static String |
JNDI_OLD_LOCAL_TX_DATASOURCE_NAME |
static String |
JNDI_QUEUE_CONNECTION_FACTORY_NAME |
static String |
JNDI_QUEUE_NAME |
static String |
JNDI_TOPIC_NAME |
static String |
JNDI_XA_DURABLE_JCA_FACTORY_NAME |
static String |
JNDI_XA_JCA_FACTORY_NAME |
static String |
JNDI_XA_QUEUE_CONNECTION_FACTORY_NAME |
static String |
USER_TRANSACTION |
| Constructor and Description |
|---|
BusinessEventConnectionFactorySupport() |
| Modifier and Type | Method and Description |
|---|---|
static BusinessEventConnectionFactory |
findRelevantBusinessEventConnectionFactory(boolean forceRetry)
Find Event Connection Factory object relevant to the underlying EDN implementation (either AQ-based, or JMS-based).
|
static void |
reset()
Reset to the initial state where no lookup has been performed.
|
static void |
setDatasourceProperties(Properties dsProps)
Specify datasource properties for AQ JMS.
|
static void |
setJndiProperties(Properties jndiProps)
Specify JNDI properties.
|
public static String JDNI_USER_TRANSACTION
public static String JNDI_OLD_DATASOURCE_NAME
public static String JNDI_OLD_LOCAL_TX_DATASOURCE_NAME
public static String JNDI_DATASOURCE_NAME
public static String JNDI_LOCAL_TX_DATASOURCE_NAME
public static String JNDI_LOGICAL_DATASOURCE_NAME
public static String JNDI_LOGICAL_LOCAL_TX_DATASOURCE_NAME
public static String JNDI_QUEUE_CONNECTION_FACTORY_NAME
public static String JNDI_XA_QUEUE_CONNECTION_FACTORY_NAME
public static String JNDI_QUEUE_NAME
public static String JNDI_XA_JCA_FACTORY_NAME
public static String JNDI_XA_DURABLE_JCA_FACTORY_NAME
public static String JNDI_LOCALTX_JCA_FACTORY_NAME
public static String JNDI_LOCALTX_DURABLE_JCA_FACTORY_NAME
public static String JNDI_TOPIC_NAME
public static String AQJMS_XA_DATASOURCE
public static String AQJMS_LOCAL_TX_DATASOURCE
public static String USER_TRANSACTION
public BusinessEventConnectionFactorySupport()
public static void setJndiProperties(Properties jndiProps)
jndiProps -public static void setDatasourceProperties(Properties dsProps)
dsProps -public static BusinessEventConnectionFactory findRelevantBusinessEventConnectionFactory(boolean forceRetry) throws oracle.fabric.common.FabricException
(1) if in debug mode (system property "edn.debug.event-connection" is true), then returns DebugBusinessEventConnectionFactory object.
(2) if co-located with SOA (SoaInfraRegistry.get("EventConnectionFactory" is not null) , returns a local connection factory.
(3) performs EDN-DB JNDI lookup in following order to return SAQRemoteBusinessEventConnectionFactory object.
(4) performs EDN-JMS resource JNDI lookup of Queue and QueueConnectionFactory to return JmsRemoteBusinessEventConnectionFactory object.
forceRetry - whether or not to enforce lookup retry. If this flag is set to false, then a previously lookup of factory instance is returned. Otherwise, lookup will be performed regardless of previous lookup.oracle.fabric.common.FabricExceptionpublic static void reset()