org.sonatype.gshell.guice
Class GuiceMainSupport
java.lang.Object
org.sonatype.gshell.MainSupport
org.sonatype.gshell.guice.GuiceMainSupport
- Direct Known Subclasses:
- ShellRunner
public abstract class GuiceMainSupport
- extends MainSupport
Support for booting shell applications with Guice.
- Since:
- 2.6.4
- Author:
- Jason Dillon
|
Field Summary |
protected org.sonatype.guice.bean.locators.DefaultBeanLocator |
container
|
| Methods inherited from class org.sonatype.gshell.MainSupport |
boot, createBranding, enableAnsiColors, exit, getBranding, setConsoleLogLevel, setDebug, setQuiet, setSystemProperty, setTerminalType, setTerminalType, setTrace, setVariable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected final org.sonatype.guice.bean.locators.DefaultBeanLocator container
GuiceMainSupport
public GuiceMainSupport()
createShell
protected Shell createShell()
throws Exception
- Specified by:
createShell in class MainSupport
- Throws:
Exception
configure
protected void configure(List<com.google.inject.Module> modules)
createSpaceModule
protected org.sonatype.guice.bean.binders.SpaceModule createSpaceModule()
Copyright © 2008-2011 Sonatype. All Rights Reserved.