Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface ForeignJMSConnectionFactoryMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, ForeignJNDIObjectMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

Deprecated. 9.0.0.0 Replaced by the ForeignConnectionFactoryBean type in the new JMS module.

public interface ForeignJMSConnectionFactoryMBean
extends ForeignJNDIObjectMBean

This class represents a JMS connection factory that resides on another server, and is accessed via JNDI. A remote connection factory can be used to refer to another instance of WebLogic JMS running in a different cluster or server, or a foreign JMS provider, as long as that provider supports JNDI. This MBean will always be a sub-element of the ForeignJMSServerMBean.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getConnectionHealthChecking()
          Deprecated. Enables the JMS connection testing mechanism that insures a connection created from this connection factory is still valid.
abstract  String getLocalJNDIName()
          Deprecated. The name that the remote object will be bound to in the local server's JNDI tree.
abstract  String getPassword()
          Deprecated. The password that will be used in conjunction with the user name specified in the "Username" attribute.
abstract  byte[] getPasswordEncrypted()
          Deprecated. The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute.
abstract  String getRemoteJNDIName()
          Deprecated. The name of the remote object that will be looked up in the remote JNDI directory.
abstract  String getUsername()
          Deprecated. The user name that will be passed when opening a connection to the remote JMS server (represented by this foreign JMS connection factory).
abstract  void setConnectionHealthChecking(String value)
          Deprecated. Sets the value of the ConnectionHealthChecking attribute.
abstract  void setLocalJNDIName(String name)
          Deprecated. Sets the value of the LocalJNDIName attribute.
abstract  void setPassword(String passwd)
          Deprecated. Sets the value of the Password attribute.
abstract  void setPasswordEncrypted(byte[] encryptedBytes)
          Deprecated. Encrypts the user password and sets the value of the PasswordEncrypted attribute.
abstract  void setRemoteJNDIName(String name)
          Deprecated. Sets the value of the RemoteJNDIName attribute.
abstract  void setUsername(String name)
          Deprecated. Sets the value of the Username attribute.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

setLocalJNDIName

void setLocalJNDIName(String name)
Deprecated. 
Description copied from interface: ForeignJNDIObjectMBean

Sets the value of the LocalJNDIName attribute.

Specified by:
setLocalJNDIName in interface ForeignJNDIObjectMBean
Parameters:
name - The new localJNDIName value
See Also:
ForeignJNDIObjectMBean.getLocalJNDIName()

getLocalJNDIName

String getLocalJNDIName()
Deprecated. 
Description copied from interface: ForeignJNDIObjectMBean

The name that the remote object will be bound to in the local server's JNDI tree. This is the name that should be used to look up the object on the local server.

Specified by:
getLocalJNDIName in interface ForeignJNDIObjectMBean
Returns:
The localJNDIName value

setRemoteJNDIName

void setRemoteJNDIName(String name)
Deprecated. 
Description copied from interface: ForeignJNDIObjectMBean

Sets the value of the RemoteJNDIName attribute.

Specified by:
setRemoteJNDIName in interface ForeignJNDIObjectMBean
Parameters:
name - The new remoteJNDIName value
See Also:
ForeignJNDIObjectMBean.getRemoteJNDIName()

getRemoteJNDIName

String getRemoteJNDIName()
Deprecated. 
Description copied from interface: ForeignJNDIObjectMBean

The name of the remote object that will be looked up in the remote JNDI directory.

Specified by:
getRemoteJNDIName in interface ForeignJNDIObjectMBean
Returns:
The remoteJNDIName value

setUsername

void setUsername(String name)
Deprecated. 

Sets the value of the Username attribute.

Parameters:
name - The new username value
See Also:
ForeignJMSConnectionFactoryMBean.getUsername()

getUsername

String getUsername()
Deprecated. 

The user name that will be passed when opening a connection to the remote JMS server (represented by this foreign JMS connection factory). If not set, then no user name will be used.

Returns:
The username value

setPassword

void setPassword(String passwd)
Deprecated. 

Sets the value of the Password attribute.

Parameters:
passwd - The new password value
See Also:
ForeignJMSConnectionFactoryMBean.getPassword()

getPassword

String getPassword()
Deprecated. 

The password that will be used in conjunction with the user name specified in the "Username" attribute.

As of 8.1 sp4, when you get the value of this attriubte, WebLogic Server does the following:

  1. Retrieves the value of the PasswordEncrypted attribute.
  2. Decrypts the value and returns the unencrypted password as a String.

When you set the value of this attribute, WebLogic Server does the following:

  1. Encrypts the value.
  2. Sets the value of the PasswordEncrypted attribute to the encrypted value.

Using Password() is a potential security risk because the String object (which contains the unencrypted password) remains in the JVM's memory until garbage collection removes it and the memory is reallocated. Depending on how memory is allocated in the JVM, a significant amount of time could pass before this unencrypted data is removed from memory.

Instead of using this attribute, use PasswordEncrypted.

Returns:
The password value

setConnectionHealthChecking

void setConnectionHealthChecking(String value)
Deprecated. 

Sets the value of the ConnectionHealthChecking attribute.

Parameters:
value - The new value for ConnectionHealthChecking
See Also:
ForeignJMSConnectionFactoryMBean.getConnectionHealthChecking()

getConnectionHealthChecking

String getConnectionHealthChecking()
Deprecated. 

Enables the JMS connection testing mechanism that insures a connection created from this connection factory is still valid. If not checked, then the connection testing mechanism will be disabled.

Returns:
The connectionHealthChecking value

getPasswordEncrypted

byte[] getPasswordEncrypted()
Deprecated. 

The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute.

To set this attribute, use weblogic.management.EncryptionHelper.encrypt() to encrypt the value. Then set this attribute to the output of the encrypt() method.

To compare a password that a user enters with the encrypted value of this attribute, go to the same WebLogic Server instance that you used to set and encrypt this attribute and use weblogic.management.EncryptionHelper.encrypt() to encrypt the user-supplied password. Then compare the encrypted values.

Returns:
The password value as an encrypted byte array

setPasswordEncrypted

void setPasswordEncrypted(byte[] encryptedBytes)
Deprecated. 
Encrypts the user password and sets the value of the PasswordEncrypted attribute.
Parameters:
encryptedBytes - The new password value as encrypted byte array
See Also:
ForeignJMSConnectionFactoryMBean.getPasswordEncrypted()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09