CoreService, ServiceControllerAbstractShellServicepublic interface ShellService extends CoreService
Created: 2017. 10. 28.
| Modifier and Type | Method | Description |
|---|---|---|
static ShellService |
create(java.io.File aspectranConfigFile) |
Returns a new instance of ShellService.
|
static ShellService |
create(java.io.File aspectranConfigFile,
Console console) |
Returns a new instance of ShellService.
|
static ShellService |
create(java.lang.String aspectranConfigFile) |
Returns a new instance of ShellService.
|
static ShellService |
create(java.lang.String aspectranConfigFile,
Console console) |
Returns a new instance of ShellService.
|
static java.io.File |
determineAspectranConfigFile(java.lang.String arg) |
|
void |
execute(CommandLineParser commandLineParser) |
Executes a Shell Activity.
|
void |
execute(java.lang.String command) |
Executes a Shell Activity.
|
CommandRegistry |
getCommandRegistry() |
|
java.lang.String[] |
getCommands() |
|
Console |
getConsole() |
|
java.lang.String |
getGreetings() |
|
boolean |
isExposable(java.lang.String transletName) |
Checks whether the Translet can be exposed.
|
boolean |
isVerbose() |
Tests if the verbose mode is enabled.
|
SessionAdapter |
newSessionAdapter() |
|
void |
printGreetings() |
Prints welcome message.
|
void |
printHelp() |
Prints help information.
|
void |
setGreetings(java.lang.String greetings) |
|
void |
setVerbose(boolean verbose) |
Enables or disables the verbose mode.
|
getActivityContext, getApplicationAdapter, getAspectranClassLoader, getAspectranConfig, getBasePath, isHardReloadgetServiceName, isActive, isBusy, isDerived, pause, pause, restart, restart, resume, setServiceStateListener, start, stopSessionAdapter newSessionAdapter()
Console getConsole()
java.lang.String[] getCommands()
CommandRegistry getCommandRegistry()
boolean isVerbose()
void setVerbose(boolean verbose)
verbose - true to enable the verbose mode; false to disablejava.lang.String getGreetings()
void setGreetings(java.lang.String greetings)
void printGreetings()
void printHelp()
boolean isExposable(java.lang.String transletName)
transletName - the name of the Translet to checkvoid execute(java.lang.String command)
command - the commandvoid execute(CommandLineParser commandLineParser)
commandLineParser - the command line parserstatic ShellService create(java.lang.String aspectranConfigFile) throws AspectranServiceException, java.io.IOException
aspectranConfigFile - the aspectran configuration fileAspectranServiceException - the aspectran service exceptionjava.io.IOException - if an I/O error has occurredstatic ShellService create(java.lang.String aspectranConfigFile, Console console) throws AspectranServiceException, java.io.IOException
aspectranConfigFile - the aspectran configuration fileconsole - the consoleAspectranServiceException - the aspectran service exceptionjava.io.IOException - if an I/O error has occurredstatic ShellService create(java.io.File aspectranConfigFile) throws AspectranServiceException, java.io.IOException
aspectranConfigFile - the aspectran configuration fileAspectranServiceException - the aspectran service exceptionjava.io.IOException - if an I/O error has occurredstatic ShellService create(java.io.File aspectranConfigFile, Console console) throws AspectranServiceException, java.io.IOException
aspectranConfigFile - the aspectran configuration fileconsole - the consoleAspectranServiceException - the aspectran service exceptionjava.io.IOException - if an I/O error has occurredstatic java.io.File determineAspectranConfigFile(java.lang.String arg)
Copyright © 2008–2018 The Aspectran Project. All rights reserved.