Oracle GlassFish(tm) Server Message Queue
5.0

javax.jms
Annotation Type JMSPasswordCredential


@Retention(value=RUNTIME)
@Target(value={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.

See Also:
ConnectionFactory.createContext(java.lang.String, java.lang.String)

Required Element Summary
 java.lang.String password
          Specifies the password to be used when injecting a javax.jms.JMSContext object
 java.lang.String userName
          Specifies the userName to be used when injecting a javax.jms.JMSContext object
 

Element Detail

userName

public abstract java.lang.String userName
Specifies the userName to be used when injecting a javax.jms.JMSContext object


password

public abstract java.lang.String password
Specifies the password to be used when injecting a javax.jms.JMSContext object


Oracle GlassFish(tm) Server Message Queue
5.0

Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.