org.nakedobjects.plugins.html.viewer
Class HtmlViewerInstaller

java.lang.Object
  extended by org.nakedobjects.runtime.installers.InstallerAbstract
      extended by org.nakedobjects.runtime.viewer.NakedObjectsViewerInstallerAbstract
          extended by org.nakedobjects.plugins.html.viewer.HtmlViewerInstaller
All Implemented Interfaces:
ApplicationScopedComponent, Component, Installer, ConfigurationBuilderAware, InstallerLookupAware, NakedObjectsViewerInstaller

public class HtmlViewerInstaller
extends NakedObjectsViewerInstallerAbstract

Convenience implementation of a NakedObjectsViewer providing the ability to run a Jetty web server configured for the HTML viewer from the command line.

To run, use the --viewer html flag.

In a production deployment the configuration represented by the WebAppSpecification would be specified in the web.xml file.


Field Summary
 
Fields inherited from interface org.nakedobjects.runtime.viewer.NakedObjectsViewerInstaller
TYPE
 
Constructor Summary
HtmlViewerInstaller()
           
 
Method Summary
 NakedObjectsViewer doCreateViewer()
           
 
Methods inherited from class org.nakedobjects.runtime.viewer.NakedObjectsViewerInstallerAbstract
createViewer, injectDependenciesInto, setInstallerLookup
 
Methods inherited from class org.nakedobjects.runtime.installers.InstallerAbstract
addConfigurationResources, getConfiguration, getConfigurationResources, getName, getType, init, setConfiguration, setConfigurationBuilder, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.Installer
getConfigurationResources, getName, getType
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Constructor Detail

HtmlViewerInstaller

public HtmlViewerInstaller()
Method Detail

doCreateViewer

public NakedObjectsViewer doCreateViewer()
Overrides:
doCreateViewer in class NakedObjectsViewerInstallerAbstract


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.