java.lang.Object
com.sun.faces.spi.DiscoverableInjectionProvider
- All Implemented Interfaces:
InjectionProvider
InjectionProvider
s that implement this interface can be configured via
META-INF/services/com.sun.faces.spi.injectionprovider
.
The format of the configuration entries is:
<InjectionProviderClassName>:<DelegateClassName>
Example:
com.sun.faces.vendor.GlassFishInjectionProvider:com.sun.enterprise.InjectionManager
Multiple DiscoverableInjectionProvider
s can be configured within a single services entry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isInjectionFeatureAvailable
(String delegateClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.faces.spi.InjectionProvider
inject, invokePostConstruct, invokePreDestroy
-
Constructor Details
-
DiscoverableInjectionProvider
public DiscoverableInjectionProvider()
-
-
Method Details
-
isInjectionFeatureAvailable
- Parameters:
delegateClass
- the name of the delegate used by theInjectionProvider
implementation.- Returns:
- returns
true
if theInjectionProvider
instance is appropriate for the container its currently deployed within, otherwise returnfalse
-