BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface UnixMachineMBean


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

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

Method Summary
 java.lang.String getPostBindGID()
          Returns the UNIX GID a server running on this machine will run under after it has carried out all privledged startup actions.
 java.lang.String getPostBindUID()
          Returns the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions.
 boolean isPostBindGIDEnabled()
          Returns the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions.
 boolean isPostBindUIDEnabled()
          Returns the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions.
 void setPostBindGID(java.lang.String gid)
          Sets the UNIX GID a server running on this machine will run under after it has carried out all privledged startup actions.
 void setPostBindGIDEnabled(boolean enable)
           
 void setPostBindUID(java.lang.String uid)
          Sets the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions.
 void setPostBindUIDEnabled(boolean enable)
           
 
Methods inherited from interface weblogic.management.configuration.MachineMBean
getAddresses, setAddresses
 
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

isPostBindUIDEnabled

public boolean isPostBindUIDEnabled()
Returns the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions. If this value is set, it is a valid Unix UID. If it is not set it is null.

A configurable MBean attribute
Default Value: false
Old Property: weblogic.system.enableSetUID,

setPostBindUIDEnabled

public void setPostBindUIDEnabled(boolean enable)


getPostBindUID

public java.lang.String getPostBindUID()
Returns the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions. If this value is set, it is a valid Unix UID. If it is not set it is null.

A configurable MBean attribute
Default Value: "nobody"
Old Property: weblogic.system.nonPrivUser

setPostBindUID

public void setPostBindUID(java.lang.String uid)
                    throws javax.management.InvalidAttributeValueException
Sets the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions.

Throws:
java.lang.IllegalArgumentException - if the uid is neither a valid Unix UID or null. DESIGN ISSUE: can we ensure that the uid is a valid UID?

isPostBindGIDEnabled

public boolean isPostBindGIDEnabled()
Returns the UNIX UID a server running on this machine will run under after it has carried out all privledged startup actions. If this value is set, it is a valid Unix UID. If it is not set it is null.

A configurable MBean attribute
Default Value: false
Old Property: weblogic.system.enableSetGID,

setPostBindGIDEnabled

public void setPostBindGIDEnabled(boolean enable)


getPostBindGID

public java.lang.String getPostBindGID()
Returns the UNIX GID a server running on this machine will run under after it has carried out all privledged startup actions. If this value is set, it is a valid Unix GID. If it is not set it is null.

A configurable MBean attribute
Default Value: "nobody"
Old Property: weblogic.system.nonPrivGroup

setPostBindGID

public void setPostBindGID(java.lang.String gid)
                    throws javax.management.InvalidAttributeValueException
Sets the UNIX GID a server running on this machine will run under after it has carried out all privledged startup actions.

Throws:
java.lang.IllegalArgumentException - if the gid is neither a valid Unix GID or null. DESIGN ISSUE: can we ensure that the gid is a valid GID?

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.