@Priority(value=20) public class CdiInjectionManagerFactory extends CdiInjectionManagerFactoryBase implements InjectionManagerFactory
InjectionManagerFactory which provides a new instance of CDI InjectionManager.| Constructor and Description |
|---|
CdiInjectionManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
InjectionManager |
create(Object parent) |
InjectionManager |
create(Object parent,
RuntimeType runtimeType)
Create injectionManager for
or get the existing injection manager for the server |
static InjectionManager |
getInjectionManager(javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Get the client side InjectionManager stored in the
CreationalContext or the server side InjectionManager. |
getInjectionManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic InjectionManager create(Object parent)
create in interface InjectionManagerFactorypublic InjectionManager create(Object parent, RuntimeType runtimeType)
or get the existing injection manager for the serverparent - Parent injection manager. Not used in this InjectionManagerFactory.runtimeType - RuntimeType to get or create the proper injection manager.public static InjectionManager getInjectionManager(javax.enterprise.context.spi.CreationalContext<?> creationalContext)
CreationalContext or the server side InjectionManager.creationalContext - CreationalContext subclass which may hold InjectionManager for the clientCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.