Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface UnixMachineMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MachineMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, 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.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  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.
abstract  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.
abstract  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.
abstract  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.
abstract  void setPostBindGID(String gid)
          Sets the value of the PostBindGID attribute.
abstract  void setPostBindGIDEnabled(boolean enable)
          Sets the value of the PostBindGIDEnabled attribute.
abstract  void setPostBindUID(String uid)
          Sets the value of the PostBindUID attribute.
abstract  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, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, 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
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

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

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

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

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

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()

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09