public class CommandContextFactoryImpl extends CommandContextFactory
Constructor and Description |
---|
CommandContextFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addShutdownHook(CommandContext cmdCtx) |
CommandContext |
newCommandContext() |
CommandContext |
newCommandContext(String username,
char[] password) |
CommandContext |
newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
InputStream consoleInput,
OutputStream consoleOutput) |
CommandContext |
newCommandContext(String controllerProtocol,
String controllerHost,
int controllerPort,
String username,
char[] password) |
CommandContext |
newCommandContext(String controllerProtocol,
String controllerHost,
int controllerPort,
String username,
char[] password,
boolean disableLocalAuth,
boolean initConsole,
int connectionTimeout) |
CommandContext |
newCommandContext(String controllerProtocol,
String controllerHost,
int controllerPort,
String username,
char[] password,
boolean initConsole,
int connectionTimeout) |
getInstance
public CommandContext newCommandContext() throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
public CommandContext newCommandContext(String username, char[] password) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
public CommandContext newCommandContext(String controllerProtocol, String controllerHost, int controllerPort, String username, char[] password) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
public CommandContext newCommandContext(String controllerProtocol, String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
public CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
public CommandContext newCommandContext(String controllerProtocol, String controllerHost, int controllerPort, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
protected void addShutdownHook(CommandContext cmdCtx)
Copyright © 2013 JBoss by Red Hat. All rights reserved.