BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface UnixMachineMBean

All Superinterfaces:
ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MachineMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean

public interface UnixMachineMBean
extends MachineMBean

This bean represents a machine that is running the UNIX operating system. It extends MachineMBean with properties specific to the UNIX platform.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getPostBindGID()
          The UNIX group ID (GID) that a server running on this machine will run under after it has carried out all privileged startup actions.
 String getPostBindUID()
          The UNIX user ID (UID) that a server running on this machine will run under after it has carried out all privileged startup actions.
 boolean isPostBindGIDEnabled()
          Specifies whether a server running on this machine binds to a UNIX Group ID (GID) after it has carried out all privileged startup actions.
 boolean isPostBindUIDEnabled()
          Specifies whether a server running on this machine binds to a UNIX User ID (UID) after it has carried out all privileged startup actions.
 void setPostBindGID(String gid)
          Sets the value of the PostBindGID attribute.
 void setPostBindGIDEnabled(boolean enable)
          Sets the value of the PostBindGIDEnabled attribute.
 void setPostBindUID(String uid)
          Sets the value of the PostBindUID attribute.
 void setPostBindUIDEnabled(boolean enable)
          Sets the value of the PostBindUIDEnabled attribute.
 
Methods inherited from interface weblogic.management.configuration.MachineMBean
getAddresses, getNodeManager, setAddresses
 
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

getPostBindGID

public String getPostBindGID()

The UNIX group ID (GID) that a server running on this machine will run under after it has carried out all privileged startup actions. Otherwise, the server will continue to run under the group under which it was started.(Requires that you enable Post-Bind GID.)

Returns:
The postBindGID value
Default value:
"nobody"
A configurable MBean attribute.

getPostBindUID

public String getPostBindUID()

The UNIX user ID (UID) that a server running on this machine will run under after it has carried out all privileged startup actions. Otherwise, the server will continue to run under the account under which it was started.(Requires that you enable Post-Bind UID.)

Returns:
The postBindUID value
Default value:
"nobody"
A configurable MBean attribute.

isPostBindGIDEnabled

public boolean isPostBindGIDEnabled()

Specifies whether a server running on this machine binds to a UNIX Group ID (GID) after it has carried out all privileged startup actions.

Returns:
The postBindGIDEnabled value
Default value:
false
A configurable MBean attribute.

isPostBindUIDEnabled

public boolean isPostBindUIDEnabled()

Specifies whether a server running on this machine binds to a UNIX User ID (UID) after it has carried out all privileged startup actions.

Returns:
The postBindUIDEnabled value
Default value:
false
A configurable MBean attribute.

setPostBindGID

public void setPostBindGID(String gid)
                    throws InvalidAttributeValueException

Sets the value of the PostBindGID attribute.

Parameters:
gid - The new postBindGID value
Throws:
InvalidAttributeValueException
IllegalArgumentException - if the gid is neither a valid Unix GID or null. DESIGN ISSUE: can we ensure that the gid is a valid GID?
See Also:
getPostBindGID()

setPostBindGIDEnabled

public void setPostBindGIDEnabled(boolean enable)

Sets the value of the PostBindGIDEnabled attribute.

Parameters:
enable - The new postBindGIDEnabled value
See Also:
isPostBindGIDEnabled()

setPostBindUID

public void setPostBindUID(String uid)
                    throws InvalidAttributeValueException

Sets the value of the PostBindUID attribute.

Parameters:
uid - The new postBindUID value
Throws:
InvalidAttributeValueException
IllegalArgumentException - if the uid is neither a valid Unix UID or null. DESIGN ISSUE: can we ensure that the uid is a valid UID?
See Also:
getPostBindUID()

setPostBindUIDEnabled

public void setPostBindUIDEnabled(boolean enable)

Sets the value of the PostBindUIDEnabled attribute.

Parameters:
enable - The new postBindUIDEnabled value
See Also:
isPostBindUIDEnabled()

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