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) |
CommandContext |
newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
boolean initConsole) |
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 controllerHost, int controllerPort, String username, char[] password) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
public CommandContext newCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole) throws CliInitializationException
newCommandContext
in class CommandContextFactory
CliInitializationException
protected void addShutdownHook(CommandContext cmdCtx)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.