Package javax.jms

Annotation Interface JMSPasswordCredential


@Retention(RUNTIME) @Target({METHOD,FIELD,PARAMETER,TYPE}) public @interface JMSPasswordCredential
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
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the password to be used when injecting a javax.jms.JMSContext object
    Specifies the userName to be used when injecting a javax.jms.JMSContext object
  • Element Details

    • userName

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

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