org.nakedobjects.plugins.remoting.http
Class EncodingOverHttpRemotingViewerInstaller

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

public class EncodingOverHttpRemotingViewerInstaller
extends NakedObjectsViewerInstallerAbstract

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

To run, use the --viewer encoding-http flag. The client-side should run using --connector encoding-http 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
EncodingOverHttpRemotingViewerInstaller()
           
 
Method Summary
protected  void addConfigurationResources(java.util.List<java.lang.String> configurationResources)
           
 NakedObjectsViewer doCreateViewer()
           
 
Methods inherited from class org.nakedobjects.runtime.viewer.NakedObjectsViewerInstallerAbstract
createViewer, injectDependenciesInto, setInstallerLookup
 
Methods inherited from class org.nakedobjects.runtime.installers.InstallerAbstract
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

EncodingOverHttpRemotingViewerInstaller

public EncodingOverHttpRemotingViewerInstaller()
Method Detail

addConfigurationResources

protected void addConfigurationResources(java.util.List<java.lang.String> configurationResources)
Overrides:
addConfigurationResources in class InstallerAbstract

doCreateViewer

public NakedObjectsViewer doCreateViewer()
Overrides:
doCreateViewer in class NakedObjectsViewerInstallerAbstract


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