|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationMBean
The tagging interface for configuration MBeans.
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."
Field Summary | |
---|---|
static byte[] |
DEFAULT_EMPTY_BYTE_ARRAY
|
Method Summary | |
---|---|
void |
freezeCurrentValue(String attributeName)
Deprecated. 9.0.0.0 |
String |
getName()
The user-specified name of this MBean instance. |
String |
getNotes()
Optional information that you can include to describe this configuration. |
boolean |
isSet(String propertyName)
Returns true if the specified attribute has been set explicitly in this MBean instance. |
void |
restoreDefaultValue(String attributeName)
Deprecated. 9.0.0.0 |
void |
setComments(String comments)
Sets the comments attribute of the ConfigurationMBean object |
void |
setDefaultedMBean(boolean defaulted)
Deprecated. 9.0.0.0 |
void |
setName(String name)
Sets the value of the Name attribute. |
void |
setNotes(String notes)
Sets the Notes attribute of the ConfigurationMBean object |
void |
setPersistenceEnabled(boolean persist)
Deprecated. 9.0.0.0 |
void |
unSet(String propertyName)
Restore the given property to its default value. |
Field Detail |
---|
static final byte[] DEFAULT_EMPTY_BYTE_ARRAY
Method Detail |
---|
String getName()
The user-specified name of this MBean instance.
This name is included as one of the key properties in the
MBean's javax.management.ObjectName
:
Name=user-specified-name
void setName(String name) throws InvalidAttributeValueException, ManagementException
Sets the value of the Name attribute.
InvalidAttributeValueException
ManagementException
String getNotes()
Optional information that you can include to describe this configuration.
WebLogic Sever saves this note in the domain's configuration
file (config.xml
) as XML PCDATA. All left angle
brackets (<) are converted to the XML entity
<
. Carriage returns/line feeds are
preserved.
If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
void setNotes(String notes) throws InvalidAttributeValueException, DistributedManagementException
Sets the Notes attribute of the ConfigurationMBean object
notes
- The new notes value
InvalidAttributeValueException
DistributedManagementException
void setPersistenceEnabled(boolean persist)
Sets the persistenceEnabled attribute of the ConfigurationMBean object
persist
- The new persistenceEnabled valuevoid setDefaultedMBean(boolean defaulted)
Sets the defaultedMBean attribute of the ConfigurationMBean object
defaulted
- The new defaultedMBean valuevoid setComments(String comments)
Sets the comments attribute of the ConfigurationMBean object
comments
- The new comments valuevoid freezeCurrentValue(String attributeName) throws AttributeNotFoundException, MBeanException
If the specified attribute has not been set explicitly, and if the attribute has a default value, this operation forces the MBean to persist the default value.
Unless you use this operation, the default value is not saved and is subject to change if you update to a newer release of WebLogic Server. Invoking this operation isolates this MBean from the effects of such changes.
To insure that you are freezing the default value, invoke the
restoreDefaultValue
operation before you invoke
this.
This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute for which some other value has been set.
attributeName
-
AttributeNotFoundException
MBeanException
void restoreDefaultValue(String attributeName) throws AttributeNotFoundException
If the specified attribute has a default value, this operation removes any value that has been set explicitly and causes the attribute to use the default value.
Default values are subject to change if you update to a newer
release of WebLogic Server. To prevent the value from changing if
you update to a newer release, invoke the
freezeCurrentValue
operation.
This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute that is already using the default.
attributeName
-
AttributeNotFoundException
boolean isSet(String propertyName)
propertyName
- property to check
void unSet(String propertyName)
propertyName
- property to restore
UnsupportedOperationException
- if called on a runtime
implementation.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, 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 Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |