flex.messaging.services.messaging.adapters
Class JMSProxy.ConnectionCredentials

java.lang.Object
  extended by flex.messaging.services.messaging.adapters.JMSProxy.ConnectionCredentials
Enclosing class:
JMSProxy

public static class JMSProxy.ConnectionCredentials
extends Object

A static inner class for connection credentials that is passed to JMS connection factory when a JMS connection is created.


Constructor Summary
JMSProxy.ConnectionCredentials(String username, String password)
          Creates a ConnectionCredentials instance with the supplied username and password.
 
Method Summary
 String getPassword()
          Returns the password being used.
 String getUsername()
          Returns the username being used.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSProxy.ConnectionCredentials

public JMSProxy.ConnectionCredentials(String username,
                                      String password)
Creates a ConnectionCredentials instance with the supplied username and password.

Parameters:
username - Username of the credential.
password - Password of the credential.
Method Detail

getUsername

public String getUsername()
Returns the username being used.

Returns:
The username being used.

getPassword

public String getPassword()
Returns the password being used.

Returns:
The password being used.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/services/messaging/adapters/JMSProxy.ConnectionCredentials.html