org.nakedobjects.runtime.session
Interface NakedObjectSessionFactory

All Superinterfaces:
ApplicationScopedComponent, Component
All Known Implementing Classes:
NakedObjectSessionFactoryAbstract, NakedObjectSessionFactoryDefault

public interface NakedObjectSessionFactory
extends ApplicationScopedComponent

Analogous to a Hibernate SessionFactory.

See Also:
NakedObjectSession

Method Summary
 AuthenticationManager getAuthenticationManager()
          The AuthenticationManager that will be used to authenticate and create AuthenticationSessions within the NakedObjectSession.
 AuthorizationManager getAuthorizationManager()
          The AuthorizationManager that will be used to authorize access to domain objects.
 NakedObjectConfiguration getConfiguration()
          The application-scoped NakedObjectConfiguration.
 DeploymentType getDeploymentType()
          The application-scoped DeploymentType.
 PersistenceSessionFactory getPersistenceSessionFactory()
          The PersistenceSessionFactory that will be used to create PersistenceSession within the NakedObjectSession.
 java.util.List<java.lang.Object> getServices()
           
 SpecificationLoader getSpecificationLoader()
          The application-scoped SpecificationLoader.
 TemplateImageLoader getTemplateImageLoader()
          The application-scoped TemplateImageLoader.
 UserProfileLoader getUserProfileLoader()
           
 NakedObjectSession openSession(AuthenticationSession session)
          Creates and opens the NakedObjectSession.
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Method Detail

openSession

NakedObjectSession openSession(AuthenticationSession session)
Creates and opens the NakedObjectSession.


getDeploymentType

DeploymentType getDeploymentType()
The application-scoped DeploymentType.


getConfiguration

NakedObjectConfiguration getConfiguration()
The application-scoped NakedObjectConfiguration.


getSpecificationLoader

SpecificationLoader getSpecificationLoader()
The application-scoped SpecificationLoader.


getTemplateImageLoader

TemplateImageLoader getTemplateImageLoader()
The application-scoped TemplateImageLoader.


getAuthenticationManager

AuthenticationManager getAuthenticationManager()
The AuthenticationManager that will be used to authenticate and create AuthenticationSessions within the NakedObjectSession.


getAuthorizationManager

AuthorizationManager getAuthorizationManager()
The AuthorizationManager that will be used to authorize access to domain objects.


getPersistenceSessionFactory

PersistenceSessionFactory getPersistenceSessionFactory()
The PersistenceSessionFactory that will be used to create PersistenceSession within the NakedObjectSession.


getUserProfileLoader

UserProfileLoader getUserProfileLoader()

getServices

java.util.List<java.lang.Object> getServices()


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