com.sun.enterprise.v3.admin
Class InserverCommandRunnerHelper

java.lang.Object
  extended by com.sun.enterprise.v3.admin.InserverCommandRunnerHelper

@Service
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class InserverCommandRunnerHelper
extends Object

Allows commands executing in the DAS or an instance to invoke other commands in the same server. This will be most useful from commands that need to change configuration settings by delegating to a sequence of other commands.

This is similar to some logic in the AdminAdapter.

Author:
Tim Quinn

Field Summary
static LocalStringManagerImpl adminStrings
           
static Logger logger
           
 
Constructor Summary
InserverCommandRunnerHelper()
           
 
Method Summary
 ActionReport runCommand(String command, ParameterMap parameters, ActionReport report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger

adminStrings

public static final LocalStringManagerImpl adminStrings
Constructor Detail

InserverCommandRunnerHelper

public InserverCommandRunnerHelper()
Method Detail

runCommand

public ActionReport runCommand(String command,
                               ParameterMap parameters,
                               ActionReport report)


Copyright © 2012. All Rights Reserved.