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 optional 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
 String password
          Specifies the password to be used when injecting a javax.jms.JMSContext object
 String userName
          Specifies the userName to be used when injecting a javax.jms.JMSContext object
 

Element Detail

userName

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


password

public abstract 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.