org.rhq.enterprise.communications.util.prefs
Class LocalInetAddressSetupInstruction
java.lang.Object
org.rhq.enterprise.communications.util.prefs.SetupInstruction
org.rhq.enterprise.communications.util.prefs.LocalInetAddressSetupInstruction
public class LocalInetAddressSetupInstruction
- extends SetupInstruction
This setup instruction is used to define a preference whose value is an IP address that is to be bound to the local
host, but by default not the loopback device. This is used to allow a user to default the IP address to bind to
something other than the loopback device (localhost or 127.0.0.1) in order for clients external to this local box to
connect to it.
- Author:
- John Mazzitelli
|
Method Summary |
void |
preProcess()
Sets the default as an IP address for this local host. |
| Methods inherited from class org.rhq.enterprise.communications.util.prefs.SetupInstruction |
getDefaultValue, getHelpMessage, getPreferenceName, getPreferences, getPromptMessage, getValidityChecker, isUsingNoEchoPrompt, postProcess, setDefaultValue, setHelpMessage, setPreferences, setPromptMessage, setUsingNoEchoPrompt, setValidityChecker, toString |
LocalInetAddressSetupInstruction
public LocalInetAddressSetupInstruction(String preference_name,
String prompt_message,
String help_message)
throws IllegalArgumentException
- Creates a new
LocalInetAddressSetupInstruction object.
- Parameters:
preference_name - prompt_message - help_message -
- Throws:
IllegalArgumentException- See Also:
SetupInstruction.SetupInstruction(String, String, SetupValidityChecker, String, String, boolean)
preProcess
public void preProcess()
- Sets the default as an IP address for this local host. We try not to set it to a loopback device.
- Overrides:
preProcess in class SetupInstruction
- See Also:
SetupInstruction.preProcess()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.