JSF-Spring

de.mindmatters.faces.application
Class ApplicationFactoryImpl

java.lang.Object
  extended by javax.faces.application.ApplicationFactory
      extended by de.mindmatters.faces.application.ApplicationFactoryImpl

public final class ApplicationFactoryImpl
extends ApplicationFactory

ApplicationFactory is a factory object that creates (if needed) and returns Application instances. This factory creates an ApplicationImpl as default application.

Author:
Andreas Kuhrwahl

Constructor Summary
ApplicationFactoryImpl(ApplicationFactory delegate)
          Creates an ApplicationFactory with the given ApplicationFactory delegate.
 
Method Summary
 Application getApplication()
          

Create (if needed) and return an Application instance for this web application.

 void setApplication(Application application)
          

Replace the Application instance that will be returned for this web application.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationFactoryImpl

public ApplicationFactoryImpl(ApplicationFactory delegate)
Creates an ApplicationFactory with the given ApplicationFactory delegate.

Parameters:
delegate - The ApplicationFactory of the underlying JSF implementation
Method Detail

getApplication

public Application getApplication()

Create (if needed) and return an Application instance for this web application.

Specified by:
getApplication in class ApplicationFactory

setApplication

public void setApplication(Application application)

Replace the Application instance that will be returned for this web application.

Specified by:
setApplication in class ApplicationFactory
Parameters:
application - The replacement Application instance

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG