EditServiceMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Provides the entry point for managing the configuration of the current WebLogic Server domain.

This MBean is available only on the Administration Server.

The javax.management.ObjectName of this MBean is "com.bea:Name=EditService,Type=weblogic.management.mbeanservers.edit.EditServiceMBean".

This is the only object name that a JMX client needs to navigate and edit the hierarchy of editiable WebLogic Server MBeans. To start editing MBean attributes, a JMX client invokes the javax.management.MBeanServerConnection.getAttribute() method and passes the following as parameters:

This method call returns the ObjectName of the ConfigurationManagerMBean.

For example:
ObjectName es = new ObjectName("com.bea:Name=EditService,Type=weblogic.management.mbeanservers.edit.EditServiceMBean");
// Get the ObjectName of the domain's ConfigurationManagerMBean by getting the value
// of the EditServiceMBean ConfigurationManager attribute
ObjectName cfg =
(ObjectName) MBeanServerConnection.getAttribute(es, "ConfigurationManager");

After getting this ObjectName, the client invokes the ConfigurationManagerMBean startEdit() operation, which returns the ObjectName of the editable DomainMBean. Clients can change the values of DomainMBean attributes or navigate the hierarchy of MBeans below DomainMBean and change their attribute values.

           
Since9.0.0.0
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.mbeanservers.edit.EditServiceMBean
Factory Methods No factory methods. Instances of this MBean are created automatically.


Related MBeans

This section describes attributes that provide access to other MBeans.


ConfigurationManager

Contains the ConfigurationManagerMBean for this domain, which has attributes and operations to start/stop edit sessions, navigate the pending hierarchy of configuration MBeans, and save, undo, and activate configuration changes..

       
Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
Privileges Read only
TypeConfigurationManagerMBean
Relationship type: Containment.

DomainConfiguration

Contains the pending DomainMBean, which is the root of the pending configuration MBean hierarchy. You cannot use this MBean to modify a domain's configuration unless you have already started an edit session using the startEdit operation in theConfigurationManagerMBean.

If you have already started an edit session, you can use this attribute to get the editable DomainMBean and navigate its hierarchy, however the process of starting an edit session returns the editable DomainMBean (making it unnecessary get the value of this attribute, because you already have the DomainMBean).

The ConfigurationManagerMBean provides this attribute mostly to enable JMX clients to view the in-memory state of the pending configuration MBean hierarchy without having to start an edit session. For example, if userA starts an edit session and changes the value of an MBean attribute, userB can get DomainMBean from this (ConfigurationManagerMBean DomainConfiguration) attribute and see the changes from userA, even if userA's edit session is still active.

       
Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
Privileges Read only
TypeDomainMBean
Relationship type: Containment.

RecordingManager

Contains the RecordingManagerMBean for this domain, which has attributes and operations to start/stop WLST recording sessions and write scripts/comments to the recording file.

       
Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
Privileges Read only
TypeRecordingManagerMBean
Relationship type: Containment.


Attributes

This section describes the following attributes:


Name

A unique key that WebLogic Server generates to identify the current instance of this MBean type.

For a singleton, such as DomainRuntimeServiceMBean, this key is often just the bean's short class name.

       
Privileges Read only
Typejava.lang.String
Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

ParentAttribute

The name of the attribute of the parent that refers to this bean

       
Privileges Read only
Typejava.lang.String
Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

ParentService

The MBean that created the current MBean instance.

In the data model for WebLogic Server MBeans, an MBean that creates another MBean is called a parent. MBeans at the top of the hierarchy have no parents.

       
Privileges Read only
Typeweblogic.management.provider.Service
Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

Path

Returns the path to the bean relative to the reoot of the heirarchy of services

       
Privileges Read only
Typejava.lang.String
Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

Type

The MBean type for this instance. This is useful for MBean types that support multiple intances, such as ActivationTaskMBean.

       
Privileges Read only
Typejava.lang.String
Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.