Package | Description |
---|---|
com.sun.messaging |
Provides the Oracle GlassFish(tm) Server Message Queue public classes.
|
javax.jms |
The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
|
Modifier and Type | Method and Description |
---|---|
JMSContext |
BasicConnectionFactory.createContext() |
JMSContext |
BasicConnectionFactory.createContext(int sessionMode) |
JMSContext |
BasicConnectionFactory.createContext(java.lang.String userName,
java.lang.String password) |
JMSContext |
BasicConnectionFactory.createContext(java.lang.String userName,
java.lang.String password,
int sessionMode) |
Modifier and Type | Interface and Description |
---|---|
interface |
XAJMSContext
The
XAJMSContext interface extends the capability of
JMSContext by adding access to a JMS provider's support for the Java
Transaction API (JTA) (optional). |
Modifier and Type | Method and Description |
---|---|
JMSContext |
ConnectionFactory.createContext()
Creates a JMSContext with the default user identity
and an unspecified sessionMode.
|
JMSContext |
JMSContext.createContext(int sessionMode)
Creates a new
JMSContext with the specified session mode
using the same connection as this JMSContext and creating a
new session. |
JMSContext |
ConnectionFactory.createContext(int sessionMode)
Creates a JMSContext with the default user identity
and the specified session mode.
|
JMSContext |
ConnectionFactory.createContext(java.lang.String userName,
java.lang.String password)
Creates a JMSContext with the specified user identity
and an unspecified sessionMode.
|
JMSContext |
ConnectionFactory.createContext(java.lang.String userName,
java.lang.String password,
int sessionMode)
Creates a JMSContext with the specified user identity
and the specified session mode.
|
JMSContext |
XAJMSContext.getContext()
Returns the
JMSContext object associated with this
XAJMSContext . |
Copyright (c) 2010-2014, Oracle and/or its affiliates. All rights reserved.