|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.n0pe.asadmin.AsAdmin
public class AsAdmin
asadmin command execution facility built as a multipleton which discriminator is a configuration provider. TODO : allows AsAdminCommands to provide input lines for stdin, implements this command : echo y | asadmin generate-diagnostic-report --outputfile report-dosadi.jar domainName TODO : handle asadmin invocation return codes with exceptions
| Field Summary | |
|---|---|
static String |
ASADMIN_COMMAND_NAME
|
static String |
HOST_OPT
|
static String |
PASSWORDFILE_OPT
|
static String |
PORT_OPT
|
static String |
SECURE_OPT
|
static String |
USER_OPT
|
| Method Summary | |
|---|---|
static String[] |
buildProcessParams(IAsAdminCmd cmd,
IAsAdminConfig config)
|
static AsAdmin |
getInstance(IAsAdminConfig config)
Get a asadmin instance configured with the given configuration provider. |
void |
run(AsAdminCmdList cmdList)
Run the given list of AsAdmin command. |
void |
run(IAsAdminCmd cmd)
Run the given AsAdmin command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HOST_OPT
public static final String PORT_OPT
public static final String SECURE_OPT
public static final String USER_OPT
public static final String PASSWORDFILE_OPT
public static String ASADMIN_COMMAND_NAME
| Method Detail |
|---|
public static AsAdmin getInstance(IAsAdminConfig config)
config -
public void run(AsAdminCmdList cmdList)
throws AsAdminException
cmdList - AsAdmin commands to be run
AsAdminException - AsAdminException
public void run(IAsAdminCmd cmd)
throws AsAdminException
cmd - AsAdmin command to be run
AsAdminException - AsAdminException
public static String[] buildProcessParams(IAsAdminCmd cmd,
IAsAdminConfig config)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||