クラス AbstractShellComponent
java.lang.ObjectSE
org.springframework.shell.standard.AbstractShellComponent
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware、org.springframework.beans.factory.InitializingBean、org.springframework.context.ApplicationContextAware、org.springframework.context.ResourceLoaderAware
- 既知の直属サブクラス
Clear、Completion、Help、Script、Stacktrace、Version
public abstract class AbstractShellComponent
extends ObjectSE
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware
シェルコンポーネントの構築を支援する基本クラス。
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voidprotected org.springframework.context.ApplicationContextprotected CommandCatalogprotected StreamSE<CompletionResolver>protected org.springframework.core.io.ResourceLoaderprotected ShellgetShell()protected TemplateExecutorprotected org.jline.terminal.Terminalprotected ThemeResolverprotected ViewComponentBuildervoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
コンストラクターの詳細
AbstractShellComponent
public AbstractShellComponent()
方法の詳細
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - 次で指定:
- インターフェース
org.springframework.context.ApplicationContextAware内のsetApplicationContext - 例外:
org.springframework.beans.BeansException
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) - 次で指定:
- インターフェース
org.springframework.context.ResourceLoaderAware内のsetResourceLoader
afterPropertiesSet
- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBean内のafterPropertiesSet - 例外:
ExceptionSE
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext()getResourceLoader
protected org.springframework.core.io.ResourceLoader getResourceLoader()getShell
getTerminal
protected org.jline.terminal.Terminal getTerminal()getCommandCatalog
getCompletionResolver
getTemplateExecutor
getThemeResolver
getViewComponentBuilder