|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a bridge destination for a WebLogic messaging bridge. Each messaging bridge consists of two destinations that are being bridged: a source destination that the bridge reads messages from, and a target destination where the bridge sends the messages that it receives from the source destination.
Field Summary | |
static long |
CACHING_STUB_SVUID
|
static java.lang.String |
JMS_XA_ADAPTER_JNDI
|
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID,
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
java.lang.String |
getAdapterJNDIName()
The JNDI name of the adapter used to communicate with the specified destination. |
java.lang.String |
getClasspath()
The CLASSPATH of the bridge destination. |
java.lang.String |
getUserName()
The optional user name that the adapter will use to access the bridge destination. |
java.lang.String |
getUserPassword()
The user password that the adapter uses to access the bridge destination. |
byte[] |
getUserPasswordEncrypted()
The encrypted user password that the adapter uses to access the bridge destination. |
void |
setAdapterJNDIName(java.lang.String name)
The JNDI name of the adapter used to communicate with the specified destination. |
void |
setClasspath(java.lang.String classpath)
The CLASSPATH of the bridge destination. |
void |
setUserName(java.lang.String name)
The optional user name that the adapter will use to access the bridge destination. |
void |
setUserPassword(java.lang.String password)
As of 8.1 sp4, this method does the following: |
void |
setUserPasswordEncrypted(byte[] bytes)
Encrypts the user password and sets the value of the UserPasswordEncrypted attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue,
getNotes,
restoreDefaultValue,
setComments,
setDefaultedMBean,
setNotes,
setPersistenceEnabled |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Field Detail |
public static final long CACHING_STUB_SVUID
public static final java.lang.String JMS_XA_ADAPTER_JNDI
Method Detail |
public java.lang.String getAdapterJNDIName()
public void setAdapterJNDIName(java.lang.String name) throws javax.management.InvalidAttributeValueException
name
- The new adapterJNDIName valuepublic java.lang.String getUserName()
Note: All operations done to 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.
public void setUserName(java.lang.String name) throws javax.management.InvalidAttributeValueException
Note: All operations done to 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.
name
- The new userName valuepublic java.lang.String getUserPassword()
The user password that the adapter uses to access the bridge destination.
As of 8.1 sp4, the getUserPassword()
method does the following:
UserPasswordEncrypted
attribute.
Using getUserPassword()
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. 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 method, use getUserPasswordEncrypted()
to retrieve the encrypted password. On the same WebLogic Server that
encrypted the value of the UserPasswordEncrypted attribute, use
weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
getUserPasswordEncrypted()
public void setUserPassword(java.lang.String password) throws javax.management.InvalidAttributeValueException
As of 8.1 sp4, this method does the following:
UserPasswordEncrypted
attribute to the
encrypted parameter value.
password
- The new userPassword valuesetUserPasswordEncrypted(byte[] bytes)
public byte[] getUserPasswordEncrypted()
The encrypted user password that the adapter uses to access the bridge destination.
EncryptionHelper
public void setUserPasswordEncrypted(byte[] bytes) throws javax.management.InvalidAttributeValueException
Encrypts the user password and sets the value of the UserPasswordEncrypted attribute.
bytes
- The new UserPassword valuegetUserPasswordEncrypted()
public java.lang.String getClasspath()
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.
Note: When connecting to a third-party JMS product, the bridge destination must supply the product's CLASSPATH in the WebLogic Server CLASSPATH.
public void setClasspath(java.lang.String classpath) throws javax.management.InvalidAttributeValueException
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.
Note: When connecting to a third-party JMS product, the bridge destination must supply the product's CLASSPATH in the WebLogic Server CLASSPATH.
classpath
- The new classpath value
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |