public class CdiClientInjectionManager extends CdiInjectionManager
Binding to the Weld.| Constructor and Description |
|---|
CdiClientInjectionManager(javax.enterprise.inject.spi.BeanManager beanManager,
Binder bindings) |
| Modifier and Type | Method and Description |
|---|---|
void |
completeRegistration() |
protected <T> javax.enterprise.context.spi.CreationalContext<T> |
createCreationalContext(javax.enterprise.inject.spi.Bean<T> bean) |
InitializableInstanceBinding |
getInjectionManagerBinding(InitializableInstanceBinding binding) |
InitializableSupplierInstanceBinding |
getInjectionManagerBinding(InitializableSupplierInstanceBinding binding) |
SupplierClassBinding |
getInjectionManagerBinding(SupplierClassBinding binding) |
protected boolean |
isRuntimeTypeBean(javax.enterprise.inject.spi.Bean<?> bean)
Identifies Jersey beans that are from different runtime (CLIENT vs SERVER).
|
void |
register(Binding binding) |
void |
shutdown() |
create, createAndInitialize, createForeignDescriptor, getAllInstances, getAllServiceHolders, getBeanManager, getBindings, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceInternal, inject, inject, isRegistrable, isShutdown, preDestroy, register, register, registerpublic CdiClientInjectionManager(javax.enterprise.inject.spi.BeanManager beanManager,
Binder bindings)
public void register(Binding binding)
register in interface InjectionManagerregister in class CdiInjectionManagerpublic InitializableInstanceBinding getInjectionManagerBinding(InitializableInstanceBinding binding)
public InitializableSupplierInstanceBinding getInjectionManagerBinding(InitializableSupplierInstanceBinding binding)
public SupplierClassBinding getInjectionManagerBinding(SupplierClassBinding binding)
public void shutdown()
shutdown in interface InjectionManagershutdown in class CdiInjectionManagerprotected <T> javax.enterprise.context.spi.CreationalContext<T> createCreationalContext(javax.enterprise.inject.spi.Bean<T> bean)
createCreationalContext in class CdiInjectionManagerpublic void completeRegistration()
throws IllegalStateException
completeRegistration in interface InjectionManagercompleteRegistration in class CdiInjectionManagerIllegalStateExceptionprotected boolean isRuntimeTypeBean(javax.enterprise.inject.spi.Bean<?> bean)
CdiInjectionManagerRuntimeType.isRuntimeTypeBean in class CdiInjectionManagerbean - the given CDI bean.RuntimeType.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.