BEA Systems, Inc.

weblogic.management.configuration
Interface MachineMBean

All Superinterfaces:
ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean
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" on http://www.oracle.com/technology/documentation/index.html.


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

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

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