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 ForeignConnectionFactoryOverrideMBean

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

public interface ForeignConnectionFactoryOverrideMBean
extends ForeignDestinationOverrideMBean

For each configuration entity that supports per-partition-override via a MBean, we have two MBeans, the original configure MBean and the corresponding override MBean, that eventually determine the effective settings of the configured resource. We mark an attribute of an override MBean "dynamic true" even though the original configure MBean masks it "dynamic false". This is to make sure that the overriding settings take effect on partition restart. Otherwise a server restart is required.

Defines partition-specific overrides for the most commonly overridden attributes in a ForeignConnectionFactory MBean. It overrides some of the settings in a same-named ForeignConnectionFactory MBean instance in the same multi-tenant scope to which this override MBean belongs.

Since:
12.2.1.0

Field Summary

 

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

 

Method Summary
abstract  String getPassword()
          The password used in conjunction with the user name specified in the Username parameter to access the remote connection factory.
abstract  byte[] getPasswordEncrypted()
          The encrypted value of the password.
abstract  String getUsername()
          The user name that is passed when opening a connection to the remote server (represented by this foreign connection factory).
abstract  void setPassword(String password)
          Sets the value of the Password attribute.
abstract  void setPasswordEncrypted(byte[] passwordEncrypted)
          Sets the value of the PasswordEncrypted attribute.
abstract  void setUsername(String username)
          Sets the value of the user name attribute.

 

Methods inherited from interface weblogic.management.configuration.ForeignDestinationOverrideMBean
getRemoteJNDIName, setRemoteJNDIName

 

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

getUsername

String getUsername()

The user name that is passed when opening a connection to the remote server (represented by this foreign connection factory).


setUsername

void setUsername(String username)
                 throws InvalidAttributeValueException

Sets the value of the user name attribute. This overrides the setting of the corresponding MBean that is defined in a resource group template.

Parameters:
username - The username to use when accessing the remote connection factory
Throws:
InvalidAttributeValueException
See Also:
ForeignConnectionFactoryOverrideMBean.getUsername()

getPasswordEncrypted

byte[] getPasswordEncrypted()

The encrypted value of the password.

Returns:
The encrypted password

setPasswordEncrypted

void setPasswordEncrypted(byte[] passwordEncrypted)

Sets the value of the PasswordEncrypted attribute. This overrides the setting of the corresponding MBean that is defined in a resource group template.

Parameters:
passwordEncrypted - The encrypted value of the password
See Also:
ForeignConnectionFactoryOverrideMBean.getPasswordEncrypted()

getPassword

String getPassword()

The password used in conjunction with the user name specified in the Username parameter to access the remote connection factory.

Returns:
The clear text value of the password if it can be determined

setPassword

void setPassword(String password)
                 throws InvalidAttributeValueException

Sets the value of the Password attribute. This overrides the setting of the corresponding MBean that is defined in a resource group template.

Parameters:
password - The password to use when accessing the remote connection factory
Throws:
InvalidAttributeValueException
See Also:
ForeignConnectionFactoryOverrideMBean.getPassword()

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