Package org.jboss.as.cli
Class CommandContextFactory
- java.lang.Object
-
- org.jboss.as.cli.CommandContextFactory
-
- Direct Known Subclasses:
CommandContextFactoryImpl
public abstract class CommandContextFactory extends Object
- Author:
- Alexey Loubyansky
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommandContextFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CommandContextFactorygetInstance()abstract CommandContextnewCommandContext()abstract CommandContextnewCommandContext(String username, char[] password)abstract CommandContextnewCommandContext(String controllerHost, int controllerPort, String username, char[] password)Deprecated.UsenewCommandContext(String, String, char[])instead.abstract CommandContextnewCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.abstract CommandContextnewCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)Deprecated.abstract CommandContextnewCommandContext(String controller, String username, char[] password)abstract CommandContextnewCommandContext(String controller, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout)Deprecated.abstract CommandContextnewCommandContext(String controller, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.abstract CommandContextnewCommandContext(String controller, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)abstract CommandContextnewCommandContext(CommandContextConfiguration configuration)
-
-
-
Method Detail
-
getInstance
public static CommandContextFactory getInstance() throws CliInitializationException
- Throws:
CliInitializationException
-
newCommandContext
public abstract CommandContext newCommandContext() throws CliInitializationException
- Throws:
CliInitializationException
-
newCommandContext
public abstract CommandContext newCommandContext(String username, char[] password) throws CliInitializationException
- Throws:
CliInitializationException
-
newCommandContext
public abstract CommandContext newCommandContext(String controller, String username, char[] password) throws CliInitializationException
- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public abstract CommandContext newCommandContext(String controller, String username, char[] password, boolean initConsole, int connectionTimeout) throws CliInitializationException
Deprecated.- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public abstract CommandContext newCommandContext(String controller, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout) throws CliInitializationException
Deprecated.- Throws:
CliInitializationException
-
newCommandContext
public abstract CommandContext newCommandContext(String controller, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput) throws CliInitializationException
- Throws:
CliInitializationException
-
newCommandContext
public abstract CommandContext newCommandContext(CommandContextConfiguration configuration) throws CliInitializationException
- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public abstract CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password) throws CliInitializationException
Deprecated.UsenewCommandContext(String, String, char[])instead.- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public abstract CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout) throws CliInitializationException
Deprecated.- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public abstract CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput) throws CliInitializationException
Deprecated.- Throws:
CliInitializationException
-
-