|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditServiceMBean
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:
The ObjectName
of this service MBean
"ConfigurationManager"
, which is the attribute that contains the ConfigurationManagerMBean
. The ConfigurationManagerMBean
contains attributes and operations to start/stop edit sessions, and save, undo, and activate configuration changes.
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.
Field Summary | |
---|---|
static String |
MBEANSERVER_JNDI_NAME This is the JNDI Context that contains a reference to the MBeanServer in which this interfaces is registered. |
static String |
OBJECT_NAME This is the ObjectName under which this service is registered in the MBeanServer |
Method Summary | |
---|---|
abstract ConfigurationManagerMBean |
getConfigurationManager() 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.. |
abstract DomainMBean |
getDomainConfiguration() Contains the pending DomainMBean , which is the root of the pending configuration MBean hierarchy. |
abstract PortablePartitionManagerMBean |
getPortablePartitionManager() Contains the PortablePartitionManagerMBean for this domain, which has attributes and operations to migrate, import,export partition related entities |
abstract RecordingManagerMBean |
getRecordingManager() 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. |
Methods inherited from interface weblogic.management.mbeanservers.Service |
---|
getName, getParentAttribute, getParentService, getPath, getType |
Field Detail |
---|
static final String MBEANSERVER_JNDI_NAME
static final String OBJECT_NAME
Method Detail |
---|
DomainMBean getDomainConfiguration()
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 the ConfigurationManagerMBean
.
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.
ConfigurationManagerMBean getConfigurationManager()
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..
PortablePartitionManagerMBean getPortablePartitionManager()
Contains the PortablePartitionManagerMBean
for this domain, which has attributes and operations to migrate, import,export partition related entities
RecordingManagerMBean getRecordingManager()
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.
|
Copyright 1996, 2015, 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |