-
@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 ajakarta.jms.JMSContext
object.- Since:
- JMS 2.0
- Version:
- Jakarta Messaging 2.0
- See Also:
ConnectionFactory.createContext(java.lang.String, java.lang.String)
-
-
Element Detail
-
userName
String userName
Specifies the userName to be used when injecting ajakarta.jms.JMSContext
object- Returns:
- The userName to be used when injecting a
jakarta.jms.JMSContext
object
-
-
-
password
String password
Specifies the password to be used when injecting ajakarta.jms.JMSContext
object- Returns:
- the password to be used when injecting a
jakarta.jms.JMSContext
object
-
-