|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)
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.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://www.oracle.com/technology/documentation/index.html.
Field Summary |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
String |
getLocalJNDIName()
Deprecated. The name that the remote object will be bound to in the local server's JNDI tree. |
String |
getPassword()
Deprecated. The password that will be used in conjunction with the user name specified in the "Username" attribute. |
byte[] |
getPasswordEncrypted()
Deprecated. The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute. |
String |
getRemoteJNDIName()
Deprecated. The name of the remote object that will be looked up in the remote JNDI directory. |
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). |
void |
setLocalJNDIName(String name)
Deprecated. Sets the value of the LocalJNDIName attribute. |
void |
setPassword(String passwd)
Deprecated. Sets the value of the Password attribute. |
void |
setPasswordEncrypted(byte[] encryptedBytes)
Deprecated. Encrypts the user password and sets the value of the PasswordEncrypted attribute. |
void |
setRemoteJNDIName(String name)
Deprecated. Sets the value of the RemoteJNDIName attribute. |
void |
setUsername(String name)
Deprecated. Sets the value of the Username attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getName, getNotes, 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 |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
public String getLocalJNDIName()
weblogic.management.configuration.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.
getLocalJNDIName
in interface weblogic.management.configuration.ForeignJNDIObjectMBean
public String getPassword()
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:
PasswordEncrypted
attribute.
When you set the value of this attribute, WebLogic Server does the following:
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. 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
.
public byte[] getPasswordEncrypted()
The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute.
To set this attribute, pass an unencrypted string to the MBean server's
setAttribute
method. WebLogic Server encrypts the value and
sets the attribute to the encrypted value.
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.
public String getRemoteJNDIName()
weblogic.management.configuration.ForeignJNDIObjectMBean
The name of the remote object that will be looked up in the remote JNDI directory.
getRemoteJNDIName
in interface weblogic.management.configuration.ForeignJNDIObjectMBean
public String getUsername()
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.
public void setLocalJNDIName(String name)
weblogic.management.configuration.ForeignJNDIObjectMBean
Sets the value of the LocalJNDIName attribute.
setLocalJNDIName
in interface weblogic.management.configuration.ForeignJNDIObjectMBean
name
- The new localJNDIName valueForeignJNDIObjectMBean.getLocalJNDIName()
public void setPassword(String passwd)
Sets the value of the Password attribute.
passwd
- The new password valuegetPassword()
public void setPasswordEncrypted(byte[] encryptedBytes)
getPasswordEncrypted()
public void setRemoteJNDIName(String name)
weblogic.management.configuration.ForeignJNDIObjectMBean
Sets the value of the RemoteJNDIName attribute.
setRemoteJNDIName
in interface weblogic.management.configuration.ForeignJNDIObjectMBean
name
- The new remoteJNDIName valueForeignJNDIObjectMBean.getRemoteJNDIName()
public void setUsername(String name)
Sets the value of the Username attribute.
name
- The new username valuegetUsername()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |