Package com.aspectran.shell.service
Class DefaultShellService
java.lang.Object
com.aspectran.core.service.AbstractServiceLifeCycle
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.DefaultCoreService
com.aspectran.shell.service.AbstractShellService
com.aspectran.shell.service.DefaultShellService
- All Implemented Interfaces:
CoreService
,ServiceLifeCycle
,ShellService
Provides an interactive shell that lets you use or control Aspectran directly
from the command line.
- Since:
- 2016. 1. 18.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontranslate
(TransletCommandLine transletCommandLine) Executes translet.Methods inherited from class com.aspectran.shell.service.AbstractShellService
afterContextLoaded, configure, createSessionManager, destroySessionManager, getConsole, getGreetings, isBusy, isVerbose, newSessionAdapter, printGreetings, printHelp, restart, setGreetings, setVerbose
Methods inherited from class com.aspectran.core.service.DefaultCoreService
beforeContextDestroy, buildActivityContext, destroyActivityContext, doStart, doStop, start, stop
Methods inherited from class com.aspectran.core.service.AbstractCoreService
buildSchedulerService, destroySchedulerService, getActivityContext, getActivityContextBuilder, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getContextName, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, getServiceName, hasActivityContextBuilder, hasServiceClassLoader, isAcceptable, isDerived, setActivityContext, setActivityContextBuilder, setAltClassLoader, setAspectranConfig, setBasePath, setContextName, setRequestAcceptor, setServiceClassLoader
Methods inherited from class com.aspectran.core.service.AbstractServiceLifeCycle
addService, getLock, getParentService, getRootService, isActive, isOrphan, isRootService, pause, pause, removeService, restart, resume, setServiceStateListener, withdraw
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getContextName, getDefaultActivity, getParentService, getRootService, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, hasServiceClassLoader, isAcceptable, isDerived, isOrphan, isRootService
-
Field Details
-
pauseTimeout
protected volatile long pauseTimeout
-
-
Method Details
-
translate
Description copied from interface:ShellService
Executes translet.- Parameters:
transletCommandLine
- the translet command line- Returns:
- the
Translet
instance - Throws:
TransletNotFoundException
-