Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface MachineMBean

All Superinterfaces:
ConfigurationMBean
All Known Subinterfaces:
UnixMachineMBean

public interface MachineMBean
extends ConfigurationMBean

This bean represents a machine on which servers may be booted. A server is bound to a machine by calling to ServerMBean.setMachine(). Although it is typical that one MachineMBean refers to one physical machine and vice versa, it is possible to have a multihomed machine represented by multiple MachineMBeans. The only restriction is that each MachineMBean be configured with non-overlapping addresses. A configuration may contain one or more of MachineMBeans which may be looked up by their logical names.

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."


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String[] getAddresses()
          Deprecated. 8.1.0.0 Replaced by ServerMBean.getListenAddress()
 NodeManagerMBean getNodeManager()
          Returns the NodeManager Mbean that defines the configuration of the Node Manager instance that runs on the machine.
 void setAddresses(String[] addresses)
          Deprecated. 8.1.0.0 Replaced by ServerMBean.getListenAddress()
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getAddresses

String[] getAddresses()
Deprecated. 8.1.0.0 Replaced by ServerMBean.getListenAddress()

The addresses by which this machine is known. May be either host names or literal IP addresses.

Returns:
The addresses value

setAddresses

void setAddresses(String[] addresses)
                  throws InvalidAttributeValueException
Deprecated. 8.1.0.0 Replaced by ServerMBean.getListenAddress()

Sets the value of the Addresses attribute.

Parameters:
addresses - The new addresses value
Throws:
InvalidAttributeValueException
IllegalArgumentException - if the array is null or contains null elements.
See Also:
MachineMBean.getAddresses()

getNodeManager

NodeManagerMBean getNodeManager()

Returns the NodeManager Mbean that defines the configuration of the Node Manager instance that runs on the machine.

Returns:
The nodeManager value

Copyright 1996, 2011, 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 MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06