weblogic.management.configuration
Interface MachineMBean
- 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 © 2002 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
java.lang.String[] |
getAddresses()
Returns the addresses by which this machine is known. |
NodeManagerMBean |
getNodeManager()
Returns the NodeManager representing this machine. |
weblogic.management.runtime.NodeManagerRuntimeMBean |
lookupNodeManagerRuntime()
lookup the NodeManagerRuntime for this machine. |
void |
setAddresses(java.lang.String[] addresses)
Set the addresses by which the machine is known. |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
- Description of the Field
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
- Returns:
- The addresses value
setAddresses
public void setAddresses(java.lang.String[] addresses)
throws javax.management.InvalidAttributeValueException
- Set the addresses by which the machine is known.
- Parameters:
addresses
- The new addresses value- Throws:
- javax.management.InvalidAttributeValueException - Description of the Exception
- java.lang.IllegalArgumentException - if the array is null or contains
null elements.
getNodeManager
public NodeManagerMBean getNodeManager()
- Returns the NodeManager representing this machine.
- Returns:
- The nodeManager value
lookupNodeManagerRuntime
public weblogic.management.runtime.NodeManagerRuntimeMBean lookupNodeManagerRuntime()
- lookup the NodeManagerRuntime for this machine.
- Returns:
- Description of the Return Value