ConfigurationMBean
, DescriptorBean
, javax.management.DynamicMBean
, MachineMBean
, javax.management.MBeanRegistration
, javax.management.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.
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
java.lang.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.
|
java.lang.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(java.lang.String gid) |
Sets the value of the PostBindGID attribute.
|
void |
setPostBindGIDEnabled(boolean enable) |
Sets the value of the PostBindGIDEnabled attribute.
|
void |
setPostBindUID(java.lang.String uid) |
Sets the value of the PostBindUID attribute.
|
void |
setPostBindUIDEnabled(boolean enable) |
Sets the value of the PostBindUIDEnabled attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
getAddresses, getNodeManager, setAddresses
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
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 setPostBindUIDEnabled(boolean enable)
Sets the value of the PostBindUIDEnabled attribute.
enable
- The new postBindUIDEnabled valueisPostBindUIDEnabled()
java.lang.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.)
void setPostBindUID(java.lang.String uid) throws javax.management.InvalidAttributeValueException
Sets the value of the PostBindUID attribute.
uid
- The new postBindUID valuejavax.management.InvalidAttributeValueException
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?getPostBindUID()
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.
void setPostBindGIDEnabled(boolean enable)
Sets the value of the PostBindGIDEnabled attribute.
enable
- The new postBindGIDEnabled valueisPostBindGIDEnabled()
java.lang.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.)
void setPostBindGID(java.lang.String gid) throws javax.management.InvalidAttributeValueException
Sets the value of the PostBindGID attribute.
gid
- The new postBindGID valuejavax.management.InvalidAttributeValueException
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?getPostBindGID()