org.nakedobjects.runtime.viewer
Class NakedObjectsViewerAbstract

java.lang.Object
  extended by org.nakedobjects.runtime.viewer.NakedObjectsViewerAbstract
All Implemented Interfaces:
ApplicationScopedComponent, Component, ConfigurationBuilderAware, InstallerLookupAware, NakedObjectsViewer
Direct Known Subclasses:
EmbeddedWebViewer

public abstract class NakedObjectsViewerAbstract
extends java.lang.Object
implements NakedObjectsViewer


Constructor Summary
NakedObjectsViewerAbstract()
           
 
Method Summary
protected  void clearAuthenticationRequestViaArgs()
           
protected  void ensureDependenciesInjected()
           
static AuthenticationManager getAuthenticationManager()
          Available after NakedObjectsSystem has been bootstrapped.
 AuthenticationRequest getAuthenticationRequestViaArgs()
           
protected static NakedObjectConfiguration getConfiguration()
          Available after NakedObjectsSystem has been bootstrapped.
protected  ConfigurationBuilder getConfigurationBuilder()
           
 DeploymentType getDeploymentType()
           
 LogonFixture getLogonFixture()
           
 WebAppSpecification getWebAppSpecification()
          Default implementation to return null, indicating that this viewer should not be run in a web container.
 void init()
           
 void setConfigurationBuilder(ConfigurationBuilder configurationBuilder)
          Injected by virtue of being ConfigurationBuilderAware.
 void setInstallerLookup(InstallerLookup installerLookup)
          Injected by virtue of being InstallerLookupAware.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NakedObjectsViewerAbstract

public NakedObjectsViewerAbstract()
Method Detail

init

public void init()
Specified by:
init in interface ApplicationScopedComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface ApplicationScopedComponent

getDeploymentType

public final DeploymentType getDeploymentType()

getWebAppSpecification

public WebAppSpecification getWebAppSpecification()
Default implementation to return null, indicating that this viewer should not be run in a web container.

Specified by:
getWebAppSpecification in interface NakedObjectsViewer

getAuthenticationRequestViaArgs

public AuthenticationRequest getAuthenticationRequestViaArgs()

clearAuthenticationRequestViaArgs

protected void clearAuthenticationRequestViaArgs()

getLogonFixture

public LogonFixture getLogonFixture()

ensureDependenciesInjected

protected void ensureDependenciesInjected()

setInstallerLookup

public void setInstallerLookup(InstallerLookup installerLookup)
Injected by virtue of being InstallerLookupAware.

Specified by:
setInstallerLookup in interface InstallerLookupAware

getConfigurationBuilder

protected ConfigurationBuilder getConfigurationBuilder()

setConfigurationBuilder

public void setConfigurationBuilder(ConfigurationBuilder configurationBuilder)
Injected by virtue of being ConfigurationBuilderAware.

Specified by:
setConfigurationBuilder in interface ConfigurationBuilderAware

getConfiguration

protected static NakedObjectConfiguration getConfiguration()
Available after NakedObjectsSystem has been bootstrapped.


getAuthenticationManager

public static AuthenticationManager getAuthenticationManager()
Available after NakedObjectsSystem has been bootstrapped.



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