Package com.sun.faces.spi
Class InjectionProviderFactory
java.lang.Object
com.sun.faces.spi.InjectionProviderFactory
public class InjectionProviderFactory extends Object
A factory for creating InjectionProvider
instances.
-
Constructor Summary
Constructors Constructor Description InjectionProviderFactory()
-
Method Summary
Modifier and Type Method Description static InjectionProvider
createInstance(ExternalContext extContext)
Creates a new instance of the class specified by thecom.sun.faces.InjectionProvider
system property.
-
Constructor Details
-
InjectionProviderFactory
public InjectionProviderFactory()
-
-
Method Details
-
createInstance
Creates a new instance of the class specified by the
com.sun.faces.InjectionProvider
system property. If this propery is not defined, then a default, no-op,InjectionProvider
will be returned.- Parameters:
extContext
- ExteranlContext for the current request- Returns:
- an implementation of the
InjectionProvider
interfaces
-