Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02

weblogic.management.configuration
Interface UnixMachineMBean

All Superinterfaces:
ConfigurationMBean, MachineMBean

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.


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
 

Method Detail

isPostBindUIDEnabled

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

setPostBindUIDEnabled

void setPostBindUIDEnabled(boolean enable)

Sets the value of the PostBindUIDEnabled attribute.

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

getPostBindUID

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"

setPostBindUID

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:
UnixMachineMBean.getPostBindUID()

isPostBindGIDEnabled

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

setPostBindGIDEnabled

void setPostBindGIDEnabled(boolean enable)

Sets the value of the PostBindGIDEnabled attribute.

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

getPostBindGID

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"

setPostBindGID

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:
UnixMachineMBean.getPostBindGID()

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02