com.sun.enterprise.admin.util
Class InstanceCommandExecutor
java.lang.Object
com.sun.enterprise.admin.remote.RemoteAdminCommand
com.sun.enterprise.admin.remote.ServerRemoteAdminCommand
com.sun.enterprise.admin.util.InstanceCommandExecutor
- All Implemented Interfaces:
- java.lang.Runnable, InstanceCommand
public class InstanceCommandExecutor
- extends ServerRemoteAdminCommand
- implements java.lang.Runnable, InstanceCommand
Causes execution of an administrative command on one or more remote instances to be
triggered from code running inside the DAS.
- Author:
- Vijay Ramachandran
| Fields inherited from class com.sun.enterprise.admin.remote.RemoteAdminCommand |
authToken, host, logger, name, operands, options, output, password, port, prohibitDirectoryUploads, secure, user |
|
Constructor Summary |
InstanceCommandExecutor(org.jvnet.hk2.component.Habitat habitat,
java.lang.String name,
FailurePolicy fail,
FailurePolicy offline,
Server server,
java.lang.String host,
int port,
java.util.logging.Logger logger,
ParameterMap p,
ActionReport r,
InstanceCommandResult res)
|
| Methods inherited from class com.sun.enterprise.admin.remote.RemoteAdminCommand |
executeCommand, getAttributes, getCommandModel, getFromEnvironment, getReadTimeout, getUsage, headers, reportAuthenticationException, retryUsingSecureConnection, setCommandModel, setConnectTimeout, setFileOutputDirectory, setInteractive, setReadTimeout, setResponseFormatType, setUserOut, updateAuthentication |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceCommandExecutor
public InstanceCommandExecutor(org.jvnet.hk2.component.Habitat habitat,
java.lang.String name,
FailurePolicy fail,
FailurePolicy offline,
Server server,
java.lang.String host,
int port,
java.util.logging.Logger logger,
ParameterMap p,
ActionReport r,
InstanceCommandResult res)
throws CommandException
- Throws:
CommandException
getCommandOutput
public java.lang.String getCommandOutput()
- Specified by:
getCommandOutput in interface InstanceCommand
getServer
public Server getServer()
getReport
public ActionReport getReport()
run
public void run()
- Specified by:
run in interface java.lang.Runnable
Copyright © 2012 GlassFish Community. All Rights Reserved.