java.lang.Object
com.sun.faces.spi.DiscoverableInjectionProvider
- All Implemented Interfaces:
InjectionProvider
InjectionProviders 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 DiscoverableInjectionProviders can be configured within a single services entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInjectionFeatureAvailable(String delegateClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 theInjectionProviderimplementation.- Returns:
- returns
trueif theInjectionProviderinstance is appropriate for the container its currently deployed within, otherwise returnfalse
-