BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface MachineMBean

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.

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.String[] getAddresses()
          Returns the addresses by which this machine is known.
 void setAddresses(java.lang.String[] addresses)
          Set the addresses by which the machine is known.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
getNotes, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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
 

Method Detail

getAddresses

public java.lang.String[] getAddresses()
Returns the addresses by which this machine is known. May be either host names of literal IP addresses.

A configurable MBean attribute

setAddresses

public void setAddresses(java.lang.String[] addresses)
                  throws javax.management.InvalidAttributeValueException
Set the addresses by which the machine is known.

Throws:
java.lang.IllegalArgumentException - if the array is null or contains null elements.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.