org.apache.geronimo.myfaces
Class ApplicationIndexedLifecycleProviderFactory

java.lang.Object
  extended by org.apache.myfaces.config.annotation.LifecycleProviderFactory
      extended by org.apache.geronimo.myfaces.ApplicationIndexedLifecycleProviderFactory

public class ApplicationIndexedLifecycleProviderFactory
extends org.apache.myfaces.config.annotation.LifecycleProviderFactory


Field Summary
 
Fields inherited from class org.apache.myfaces.config.annotation.LifecycleProviderFactory
FACTORY_DEFAULT
 
Constructor Summary
ApplicationIndexedLifecycleProviderFactory()
           
 
Method Summary
 org.apache.myfaces.config.annotation.LifecycleProvider getLifecycleProvider(ExternalContext externalContext)
           
 void registerLifecycleProvider(ClassLoader cl, org.apache.myfaces.config.annotation.LifecycleProvider provider)
          Register a lifecycle provider for an application classloader.
 void release()
           
 void unregisterLifecycleProvider(ClassLoader cl)
           
 
Methods inherited from class org.apache.myfaces.config.annotation.LifecycleProviderFactory
getLifecycleProviderFactory, setLifecycleProviderFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationIndexedLifecycleProviderFactory

public ApplicationIndexedLifecycleProviderFactory()
Method Detail

getLifecycleProvider

public org.apache.myfaces.config.annotation.LifecycleProvider getLifecycleProvider(ExternalContext externalContext)
Specified by:
getLifecycleProvider in class org.apache.myfaces.config.annotation.LifecycleProviderFactory

registerLifecycleProvider

public void registerLifecycleProvider(ClassLoader cl,
                                      org.apache.myfaces.config.annotation.LifecycleProvider provider)
Register a lifecycle provider for an application classloader. This method is intended to be called by the container in which MyFaces is running, once for each application, during application startup before any other myfaces initialization has taken place.

Parameters:
cl - application classloader, used to index LifecycleProviders
provider - LifecycleProvider for the application.

unregisterLifecycleProvider

public void unregisterLifecycleProvider(ClassLoader cl)

release

public void release()
Specified by:
release in class org.apache.myfaces.config.annotation.LifecycleProviderFactory


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.