Package org.jboss.as.cli.impl
Class CommandContextFactoryImpl
- java.lang.Object
-
- org.jboss.as.cli.CommandContextFactory
-
- org.jboss.as.cli.impl.CommandContextFactoryImpl
-
public class CommandContextFactoryImpl extends CommandContextFactory
- Author:
- Alexey Loubyansky
-
-
Constructor Summary
Constructors Constructor Description CommandContextFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CommandContextnewCommandContext()CommandContextnewCommandContext(String username, char[] password)CommandContextnewCommandContext(String controllerHost, int controllerPort, String username, char[] password)Deprecated.CommandContextnewCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.CommandContextnewCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)Deprecated.CommandContextnewCommandContext(String controller, String username, char[] password)CommandContextnewCommandContext(String controller, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout)Deprecated.CommandContextnewCommandContext(String controller, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.CommandContextnewCommandContext(String controller, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)CommandContextnewCommandContext(CommandContextConfiguration configuration)-
Methods inherited from class org.jboss.as.cli.CommandContextFactory
getInstance
-
-
-
-
Method Detail
-
newCommandContext
public CommandContext newCommandContext() throws CliInitializationException
- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
public CommandContext newCommandContext(String username, char[] password) throws CliInitializationException
- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
public CommandContext newCommandContext(String controller, String username, char[] password) throws CliInitializationException
- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public CommandContext newCommandContext(String controller, String username, char[] password, boolean initConsole, int connectionTimeout) throws CliInitializationException
Deprecated.- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public CommandContext newCommandContext(String controller, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout) throws CliInitializationException
Deprecated.- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
public CommandContext newCommandContext(String controller, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput) throws CliInitializationException
- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password) throws CliInitializationException
Deprecated.- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout) throws CliInitializationException
Deprecated.- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
@Deprecated public CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput) throws CliInitializationException
Deprecated.- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
newCommandContext
public CommandContext newCommandContext(CommandContextConfiguration configuration) throws CliInitializationException
- Specified by:
newCommandContextin classCommandContextFactory- Throws:
CliInitializationException
-
-