Top Description Methods
javax.jms

public @Interface JMSPasswordCredential

extends Annotation
Annotations
@Retention:RUNTIME
@Target:METHOD, FIELD, PARAMETER, TYPE
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE, .RetentionPolicy.RUNTIME

This annotation may be used to specify the userName and password to be used when injecting a javax.jms.JMSContext object.
Since
JMS 2.0
Version
JMS 2.0
See Also
javax.jms.ConnectionFactory#createContext(java.lang.String, java.lang.String)

Method Summary

Modifier and TypeMethod and Description
public String
password()

Specifies the password to be used when injecting a javax.jms.JMSContext object

public String
userName()

Specifies the userName to be used when injecting a javax.jms.JMSContext object

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

passwordback to summary
public String password()

Specifies the password to be used when injecting a javax.jms.JMSContext object

userNameback to summary
public String userName()

Specifies the userName to be used when injecting a javax.jms.JMSContext object