Annotation Type JMSSessionMode

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

javax.jms
Annotation Type JMSSessionMode

@Retention(value=RUNTIME)
 @Target(value={METHOD,FIELD,PARAMETER,TYPE})
public @interface JMSSessionMode

This annotation may be used to specify the session mode to be used when injecting a javax.jms.JMSContext object. The meaning and possible values of session mode are the same as for the ConnectionFactory method createContext(int sessionMode).

Since:
    JMS 2.0
Version:
    JMS 2.0
See Also:
    JMSContext.createContext(int)

    Optional Element Summary
    Optional Elements Modifier and Type 	Optional Element and Description
    int 	value
    Specifies the session mode used when injecting a javax.jms.JMSContext object.

    Element Detail
        value

        public abstract int value

        Specifies the session mode used when injecting a javax.jms.JMSContext object.

        Default:
            1

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

发布了133 篇原创文章 · 获赞 191 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105718055