BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)


weblogic.management.configuration
Interface ConfigurationPropertyMBean

All Superinterfaces:
ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, WebLogicMBean

public interface ConfigurationPropertyMBean
extends ConfigurationMBean

Encapsulates information about a property, such as its value and whether it is encrypted.

Deprecation of MBeanHome and Type-Safe Interfaces

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.

Since:
9.0.0.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getEncryptedValue()
          Specifies the decrypted value of the property.
 String getValue()
          Specifies the value of the property.
 boolean isEncryptValueRequired()
          Specifies whether the property should be encrypted.
 void setEncryptedValue(String value)
          Sets the value of the EncryptedValue attribute.
 void setEncryptValueRequired(boolean encryptValueRequired)
          Sets the value of the EncryptValueRequired attribute.
 void setValue(String value)
          Sets the value of the Value 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

getEncryptedValue

public String getEncryptedValue()

Specifies the decrypted value of the property.

Use this attribute if you have specified that property should be encrypted.

Returns:
the encrypted property value
Default value:
""
A dynamic MBean attribute.

getValue

public String getValue()

Specifies the value of the property.

If the property is encrypted, then attribute is null and one should use the EncryptedValue attribute to get the decrypted value.

Returns:
property value
Default value:
""
A dynamic MBean attribute.

isEncryptValueRequired

public boolean isEncryptValueRequired()

Specifies whether the property should be encrypted.

By default, the value of a property is not encrypted and anyone using the Administration Console can view the value of the property. If this attribute is set to true, then the value of the property on the Administration Console will be set to all asterisks.

Returns:
if property value needs to be encrypted
Default value:
false
A dynamic MBean attribute.

setEncryptedValue

public void setEncryptedValue(String value)

Sets the value of the EncryptedValue attribute.


setEncryptValueRequired

public void setEncryptValueRequired(boolean encryptValueRequired)

Sets the value of the EncryptValueRequired attribute.

Parameters:
encryptValueRequired -

setValue

public void setValue(String value)

Sets the value of the Value attribute.

Parameters:
value -

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.