|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BridgeDestinationCommonMBean
This MBean represents a bridge destination for a messaging bridge instance. Each messaging bridge instance consists of the following destination types:
Source: The message producing destination. A bridge instance consumes messages from the source destination.
Target: The destination where a bridge instance forwards messages produced by the source destination.
Field Summary | |
---|---|
static String |
JMS_XA_ADAPTER_JNDI |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract String |
getAdapterJNDIName() The JNDI name of the adapter used to communicate with the specified destination. |
abstract String |
getClasspath() Deprecated. - no longer support interoperability with WLS 5.1 |
abstract String |
getUserName() The optional user name the adapter uses to access the bridge destination. |
abstract String |
getUserPassword() The user password that the adapter uses to access the bridge destination. |
abstract byte[] |
getUserPasswordEncrypted() The encrypted user password that the adapter uses to access the bridge destination. |
abstract void |
setAdapterJNDIName(String name) Sets the value of the AdapterJNDIName attribute. |
abstract void |
setClasspath(String classpath) Deprecated. - no longer support interoperability with WLS 5.1 |
abstract void |
setUserName(String name) Sets the value of the UserName attribute. |
abstract void |
setUserPassword(String password) Encrypts the password and sets the value of the UserPassword attribute and the UserPasswordEncrypted attribute. |
abstract void |
setUserPasswordEncrypted(byte[] passwordEncrypted) Sets the encrypted value of the UserPassword 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 |
Field Detail |
---|
static final String JMS_XA_ADAPTER_JNDI
Method Detail |
---|
String getAdapterJNDIName()
The JNDI name of the adapter used to communicate with the specified destination.
This name is specified in the adapter's deployment descriptor file and is used by the WebLogic Server Connector container to bind the adapter in WebLogic Server JNDI.
void setAdapterJNDIName(String name) throws InvalidAttributeValueException
Sets the value of the AdapterJNDIName
attribute.
name
- The new adapterJNDIName valueInvalidAttributeValueException
BridgeDestinationCommonMBean.getAdapterJNDIName()
String getUserName()
The optional user name the adapter uses to access the bridge destination.
All operations on the specified destination are done using this user name and the corresponding password. Therefore, the User Name/Password for the source and target destinations must have permission to the access the underlying destinations in order for the messaging bridge to work.
void setUserName(String name) throws InvalidAttributeValueException
Sets the value of the UserName
attribute.
name
- The new userName valueInvalidAttributeValueException
BridgeDestinationCommonMBean.getUserName()
String getUserPassword()
The user password that the adapter uses to access the bridge destination.
As of 8.1 sp4, when you get the value of this attribute, WebLogic Server does the following:
UserPasswordEncrypted
attribute.When you set the value of this attribute, WebLogic Server does the following:
UserPasswordEncrypted
attribute to the encrypted value.Using this attribute (UserPassword
) 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 UserPasswordEncrypted
.
BridgeDestinationCommonMBean.getUserPasswordEncrypted()
void setUserPassword(String password) throws InvalidAttributeValueException
Encrypts the password and sets the value of the UserPassword
attribute and the UserPasswordEncrypted
attribute.
password
- The new userPassword valueInvalidAttributeValueException
BridgeDestinationCommonMBean.getUserPassword()
, BridgeDestinationCommonMBean.getUserPasswordEncrypted()
byte[] getUserPasswordEncrypted()
The encrypted user password that the adapter uses to access the bridge destination.
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.
void setUserPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the UserPassword
attribute.
passwordEncrypted
- The new encrypted valueBridgeDestinationCommonMBean.getUserPasswordEncrypted()
String getClasspath()
The CLASSPATH of the bridge destination.
Used mainly to connect to another release of WebLogic Server.
When connecting to a destination that is running on WebLogic Server 6.0 or earlier, the bridge destination must supply a CLASSPATH that indicates the locations of the classes for the earlier WebLogic Server implementation.
When connecting to a third-party JMS product, the bridge destination must supply the product's CLASSPATH in the WebLogic Server CLASSPATH.
void setClasspath(String classpath) throws InvalidAttributeValueException
Sets the value of the Classpath
attribute.
classpath
- The new classpath valueInvalidAttributeValueException
BridgeDestinationCommonMBean.getClasspath()
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |