public abstract class DiscoverableInjectionProvider extends Object implements 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 and Description |
---|
DiscoverableInjectionProvider() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInjectionFeatureAvailable(String delegateClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inject, invokePostConstruct, invokePreDestroy
public static boolean isInjectionFeatureAvailable(String delegateClass)
delegateClass
- the name of the delegate used by the
InjectionProvider
implementation.true
if the
InjectionProvider
instance
is appropriate for the container its currently
deployed within, otherwise return false
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.