Uses of Interface
javax.enterprise.context.spi.CreationalContext
-
-
Uses of CreationalContext in javax.enterprise.context.spi
Methods in javax.enterprise.context.spi with parameters of type CreationalContext Modifier and Type Method Description TContextual. create(CreationalContext<T> creationalContext)Create a new instance of the contextual type.voidContextual. destroy(T instance, CreationalContext<T> creationalContext)Destroy an instance of the contextual type.<T> TContext. get(Contextual<T> contextual, CreationalContext<T> creationalContext)Return an existing instance of certain contextual type or create a new instance by callingContextual.create(CreationalContext)and return the new instance. -
Uses of CreationalContext in javax.enterprise.inject.spi
Methods in javax.enterprise.inject.spi that return CreationalContext Modifier and Type Method Description <T> CreationalContext<T>BeanManager. createCreationalContext(Contextual<T> contextual)Obtain an instance of aCreationalContextfor the given contextual type, or for a non-contextual object.Methods in javax.enterprise.inject.spi with parameters of type CreationalContext Modifier and Type Method Description <T> InterceptionFactory<T>BeanManager. createInterceptionFactory(CreationalContext<T> ctx, Class<T> clazz)Create anInterceptionFactoryfor the givenCreationalContextand type.ObjectBeanManager. getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)Obtains an injectable reference for a certain injection point.ObjectBeanManager. getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx)Obtains a contextual reference for a certain bean and a certain bean type of the bean.voidInjectionTarget. inject(T instance, CreationalContext<T> ctx)Performs dependency injection upon the given object.TProducer. produce(CreationalContext<T> ctx)Causes an instance to be produced via theProducer. -
Uses of CreationalContext in javax.enterprise.inject.spi.configurator
Method parameters in javax.enterprise.inject.spi.configurator with type arguments of type CreationalContext Modifier and Type Method Description <U extends T>
BeanConfigurator<U>BeanConfigurator. createWith(Function<CreationalContext<U>,U> callback)Set a callback to create a bean instance.BeanConfigurator<T>BeanConfigurator. destroyWith(BiConsumer<T,CreationalContext<T>> callback)Set a callback to destroy a bean instance.<U extends T>
ProducerConfigurator<T>ProducerConfigurator. produceWith(Function<CreationalContext<U>,U> callback)Set a callback to produce a new instance. -
Uses of CreationalContext in org.jboss.weld.bean
Methods in org.jboss.weld.bean with parameters of type CreationalContext Modifier and Type Method Description TAbstractProducerBean. create(CreationalContext<T> creationalContext)Creates an instance of the beanTManagedBean. create(CreationalContext<T> creationalContext)Creates an instance of the beanTSyntheticClassBean. create(CreationalContext<T> creationalContext)TSyntheticProducerBean. create(CreationalContext<T> creationalContext)voidAbstractProducerBean. destroy(T instance, CreationalContext<T> creationalContext)voidManagedBean. destroy(T instance, CreationalContext<T> creationalContext)Destroys an instance of the beanvoidRIBean. destroy(T instance, CreationalContext<T> creationalContext)voidSyntheticClassBean. destroy(T instance, CreationalContext<T> creationalContext)voidSyntheticProducerBean. destroy(T instance, CreationalContext<T> creationalContext)static <T> TContextualInstance. get(Bean<T> bean, BeanManagerImpl manager, CreationalContext<?> ctx)Shortcut for obtaining contextual instances with semantics equivalent to:if (ctx == null) { ctx = manager.createCreationalContext(bean); } manager.getContext(bean.getScope()).get(bean, ctx);static <T> TContextualInstance. get(RIBean<T> bean, BeanManagerImpl manager, CreationalContext<?> ctx)voidDisposalMethod. invokeDisposeMethod(Object receiver, Object instance, CreationalContext<?> creationalContext) -
Uses of CreationalContext in org.jboss.weld.bean.builtin
Methods in org.jboss.weld.bean.builtin that return CreationalContext Modifier and Type Method Description protected CreationalContext<? super T>AbstractFacade.AbstractFacadeSerializationProxy. getCreationalContext()protected CreationalContext<? super T>AbstractFacade. getCreationalContext()Methods in org.jboss.weld.bean.builtin with parameters of type CreationalContext Modifier and Type Method Description TAbstractBuiltInMetadataBean. create(CreationalContext<T> creationalContext)TAbstractDecorableBuiltInBean. create(CreationalContext<T> creationalContext)BeanManagerProxyBeanManagerBean. create(CreationalContext<BeanManagerProxy> creationalContext)BeanManagerImplBeanManagerImplBean. create(CreationalContext<BeanManagerImpl> creationalContext)TContextBean. create(CreationalContext<T> creationalContext)EExtensionBean. create(CreationalContext<E> creationalContext)voidAbstractFacadeBean. destroy(T instance, CreationalContext<T> creationalContext)ObjectBeanManagerProxy. getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)protected WeldCreationalContext<?>AbstractBuiltInMetadataBean. getParentCreationalContext(CreationalContext<?> ctx)ObjectBeanManagerProxy. getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx)protected abstract TAbstractBuiltInMetadataBean. newInstance(InjectionPoint ip, CreationalContext<T> creationalContext)protected abstract TAbstractDecorableBuiltInBean. newInstance(InjectionPoint ip, CreationalContext<T> creationalContext)protected Bean<?>BeanMetadataBean. newInstance(InjectionPoint ip, CreationalContext<Bean<?>> creationalContext)protected ConversationConversationBean. newInstance(InjectionPoint ip, CreationalContext<Conversation> creationalContext)protected Bean<?>DecoratedBeanMetadataBean. newInstance(InjectionPoint ip, CreationalContext<Bean<?>> ctx)protected Decorator<?>DecoratorMetadataBean. newInstance(InjectionPoint ip, CreationalContext<Decorator<?>> creationalContext)protected Event<?>EventBean. newInstance(InjectionPoint ip, CreationalContext<Event<?>> creationalContext)protected EventMetadataEventMetadataBean. newInstance(InjectionPoint ip, CreationalContext<EventMetadata> creationalContext)protected InjectionPointInjectionPointBean. newInstance(InjectionPoint ip, CreationalContext<InjectionPoint> creationalContext)protected Instance<?>InstanceBean. newInstance(InjectionPoint injectionPoint, CreationalContext<Instance<?>> creationalContext)protected Bean<?>InterceptedBeanMetadataBean. newInstance(InjectionPoint ip, CreationalContext<Bean<?>> ctx)protected InterceptionFactory<?>InterceptionFactoryBean. newInstance(InjectionPoint ip, CreationalContext<InterceptionFactory<?>> creationalContext)protected Interceptor<?>InterceptorMetadataBean. newInstance(InjectionPoint ip, CreationalContext<Interceptor<?>> creationalContext)protected RequestContextControllerRequestContextControllerBean. newInstance(InjectionPoint ip, CreationalContext<RequestContextController> creationalContext)static <I> Instance<I>InstanceImpl. of(InjectionPoint injectionPoint, CreationalContext<I> creationalContext, BeanManagerImpl beanManager)Constructors in org.jboss.weld.bean.builtin with parameters of type CreationalContext Constructor Description AbstractFacade(InjectionPoint injectionPoint, CreationalContext<? super T> creationalContext, BeanManagerImpl beanManager) -
Uses of CreationalContext in org.jboss.weld.bean.builtin.ee
Methods in org.jboss.weld.bean.builtin.ee with parameters of type CreationalContext Modifier and Type Method Description TEEResourceProducerField. create(CreationalContext<T> creationalContext)TStaticEEResourceProducerField. create(CreationalContext<T> creationalContext)protected TAbstractEEBean. newInstance(InjectionPoint ip, CreationalContext<T> creationalContext) -
Uses of CreationalContext in org.jboss.weld.bean.interceptor
Methods in org.jboss.weld.bean.interceptor with parameters of type CreationalContext Modifier and Type Method Description TCdiInterceptorFactory. create(CreationalContext<T> ctx, BeanManagerImpl manager) -
Uses of CreationalContext in org.jboss.weld.bean.proxy
Methods in org.jboss.weld.bean.proxy with parameters of type CreationalContext Modifier and Type Method Description DecoratorProxyMethodHandlerDecorationHelper. createMethodHandler(InjectionPoint injectionPoint, CreationalContext<?> creationalContext, Decorator<Object> decorator)TDecorationHelper. getNextDelegate(InjectionPoint injectionPoint, CreationalContext<?> creationalContext) -
Uses of CreationalContext in org.jboss.weld.bootstrap.event
Method parameters in org.jboss.weld.bootstrap.event with type arguments of type CreationalContext Modifier and Type Method Description <U extends T>
WeldBeanConfigurator<U>WeldBeanConfigurator. createWith(Function<CreationalContext<U>,U> callback)WeldBeanConfigurator<T>WeldBeanConfigurator. destroyWith(BiConsumer<T,CreationalContext<T>> callback) -
Uses of CreationalContext in org.jboss.weld.bootstrap.events.configurator
Method parameters in org.jboss.weld.bootstrap.events.configurator with type arguments of type CreationalContext Modifier and Type Method Description <U extends T>
WeldBeanConfigurator<U>BeanConfiguratorImpl. createWith(Function<CreationalContext<U>,U> callback)WeldBeanConfigurator<T>BeanConfiguratorImpl. destroyWith(BiConsumer<T,CreationalContext<T>> callback)<U extends T>
ProducerConfigurator<T>ProducerConfiguratorImpl. produceWith(Function<CreationalContext<U>,U> callback) -
Uses of CreationalContext in org.jboss.weld.construction.api
Subinterfaces of CreationalContext in org.jboss.weld.construction.api with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Modifier and Type Interface Description interfaceorg.jboss.weld.construction.api.WeldCreationalContext<T extends Object> -
Uses of CreationalContext in org.jboss.weld.context.api
Methods in org.jboss.weld.context.api that return CreationalContext Modifier and Type Method Description CreationalContext<T>ContextualInstance. getCreationalContext() -
Uses of CreationalContext in org.jboss.weld.contexts
Subinterfaces of CreationalContext in org.jboss.weld.contexts Modifier and Type Interface Description interfaceWeldCreationalContext<T>Classes in org.jboss.weld.contexts that implement CreationalContext Modifier and Type Class Description classCreationalContextImpl<T>Methods in org.jboss.weld.contexts that return CreationalContext Modifier and Type Method Description CreationalContext<I>SerializableContextualInstanceImpl. getCreationalContext()Methods in org.jboss.weld.contexts with parameters of type CreationalContext Modifier and Type Method Description TForwardingContextual. create(CreationalContext<T> creationalContext)voidForwardingContextual. destroy(T instance, CreationalContext<T> creationalContext)<T> TAbstractContext. get(Contextual<T> contextual, CreationalContext<T> creationalContext)Get the bean if it exists in the contexts.Constructors in org.jboss.weld.contexts with parameters of type CreationalContext Constructor Description SerializableContextualInstanceImpl(C contextual, I instance, CreationalContext<I> creationalContext, org.jboss.weld.serialization.spi.ContextualStore contextualStore)SerializableContextualInstanceImpl(org.jboss.weld.serialization.spi.helpers.SerializableContextual<C,I> contextual, I instance, CreationalContext<I> creationalContext) -
Uses of CreationalContext in org.jboss.weld.contexts.unbound
Methods in org.jboss.weld.contexts.unbound with parameters of type CreationalContext Modifier and Type Method Description <T> TDependentContextImpl. get(Contextual<T> contextual, CreationalContext<T> creationalContext)Overridden method always creating a new instance -
Uses of CreationalContext in org.jboss.weld.event
Methods in org.jboss.weld.event with parameters of type CreationalContext Modifier and Type Method Description protected ObjectExtensionObserverMethodImpl. getReceiver(CreationalContext<X> ctx)protected ObjectObserverMethodImpl. getReceiver(CreationalContext<X> creationalContext)protected voidExtensionObserverMethodImpl. sendEvent(T event, Object receiver, CreationalContext<?> creationalContext)protected voidObserverMethodImpl. sendEvent(T event, Object receiver, CreationalContext<?> creationalContext)Note thatrelease()is not invoked within this method. -
Uses of CreationalContext in org.jboss.weld.injection
Methods in org.jboss.weld.injection with parameters of type CreationalContext Modifier and Type Method Description Object[]ConstructorInjectionPoint. getParameterValues(BeanManagerImpl manager, CreationalContext<?> ctx, CreationalContext<?> transientReference)Helper method for getting the current parameter values from a list of annotated parameters.TResourceInjection. getResourceReference(CreationalContext<?> ctx)TParameterInjectionPoint. getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)TParameterInjectionPointImpl. getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)voidFieldInjectionPoint. inject(Object declaringInstance, BeanManagerImpl manager, CreationalContext<?> creationalContext)voidForwardingInjectionTarget. inject(T instance, CreationalContext<T> ctx)voidResourceInjection. injectResourceReference(Object declaringInstance, CreationalContext<?> ctx)abstract TMethodInjectionPoint. invoke(Object receiver, Object specialValue, BeanManagerImpl manager, CreationalContext<?> ctx, Class<? extends RuntimeException> exceptionTypeToThrow)Invokes the method.abstract <T> voidMethodInvocationStrategy. invoke(Object receiver, MethodInjectionPoint<?,?> method, T instance, BeanManagerImpl manager, CreationalContext<?> creationalContext)TConstructorInjectionPoint. newInstance(BeanManagerImpl manager, CreationalContext<?> ctx)static <F> InterceptionFactoryImpl<F>InterceptionFactoryImpl. of(BeanManagerImpl beanManager, CreationalContext<?> creationalContext, AnnotatedType<F> annotatedType)TForwardingInjectionTarget. produce(CreationalContext<T> ctx) -
Uses of CreationalContext in org.jboss.weld.injection.attributes
Methods in org.jboss.weld.injection.attributes with parameters of type CreationalContext Modifier and Type Method Description TSpecialParameterInjectionPoint. getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext) -
Uses of CreationalContext in org.jboss.weld.injection.producer
Methods in org.jboss.weld.injection.producer with parameters of type CreationalContext Modifier and Type Method Description protected abstract TAbstractDecoratorApplyingInstantiator. applyDecorators(T instance, CreationalContext<T> creationalContext, InjectionPoint originalInjectionPoint, BeanManagerImpl manager)protected TSubclassDecoratorApplyingInstantiator. applyDecorators(T instance, CreationalContext<T> creationalContext, InjectionPoint originalInjectionPoint, BeanManagerImpl manager)protected TAbstractDecoratorApplyingInstantiator. getOuterDelegate(T instance, CreationalContext<T> creationalContext, InjectionPoint originalInjectionPoint, BeanManagerImpl manager)protected ObjectAbstractMemberProducer. getReceiver(CreationalContext<?> productCreationalContext, CreationalContext<?> receiverCreationalContext)Gets the receiver of the product.voidBasicInjectionTarget. inject(T instance, CreationalContext<T> ctx)voidDecoratorInjectionTarget. inject(T instance, CreationalContext<T> ctx)voidDefaultInjector. inject(T instance, CreationalContext<T> ctx, BeanManagerImpl manager, SlimAnnotatedType<T> type, InjectionTarget<T> injectionTarget)voidInjector. inject(T instance, CreationalContext<T> ctx, BeanManagerImpl manager, SlimAnnotatedType<T> type, InjectionTarget<T> injectionTarget)voidResourceInjector. inject(T instance, CreationalContext<T> ctx, BeanManagerImpl manager, SlimAnnotatedType<T> type, InjectionTarget<T> injectionTarget)TAbstractDecoratorApplyingInstantiator. newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)TAbstractInstantiator. newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)TConstructorInterceptionInstantiator. newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)TForwardingInstantiator. newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)TInstantiator. newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)TInterceptorApplyingInstantiator. newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)protected abstract TAbstractMemberProducer. produce(Object receiver, CreationalContext<T> ctx)TAbstractMemberProducer. produce(CreationalContext<T> ctx)TBasicInjectionTarget. produce(CreationalContext<T> ctx)TBeanInjectionTarget. produce(CreationalContext<T> ctx)TNonProducibleInjectionTarget. produce(CreationalContext<T> ctx)TProducerFieldProducer. produce(Object receiver, CreationalContext<T> creationalContext)protected TProducerMethodProducer. produce(Object receiver, CreationalContext<T> ctx) -
Uses of CreationalContext in org.jboss.weld.interceptor.proxy
Methods in org.jboss.weld.interceptor.proxy with parameters of type CreationalContext Modifier and Type Method Description static InterceptionContextInterceptionContext. forConstructorInterception(InterceptionModel interceptionModel, CreationalContext<?> ctx, BeanManagerImpl manager, SlimAnnotatedType<?> type)The context returned by this method may be later reused for other interception types.static InterceptionContextInterceptionContext. forNonConstructorInterception(InterceptionModel interceptionModel, CreationalContext<?> ctx, BeanManagerImpl manager, SlimAnnotatedType<?> type) -
Uses of CreationalContext in org.jboss.weld.interceptor.reader
Methods in org.jboss.weld.interceptor.reader with parameters of type CreationalContext Modifier and Type Method Description TPlainInterceptorFactory. create(CreationalContext<T> ctx, BeanManagerImpl manager) -
Uses of CreationalContext in org.jboss.weld.interceptor.spi.metadata
Methods in org.jboss.weld.interceptor.spi.metadata with parameters of type CreationalContext Modifier and Type Method Description TInterceptorFactory. create(CreationalContext<T> ctx, BeanManagerImpl manager)Create a new instance of the interceptor -
Uses of CreationalContext in org.jboss.weld.manager
Methods in org.jboss.weld.manager with parameters of type CreationalContext Modifier and Type Method Description <T> InterceptionFactory<T>BeanManagerImpl. createInterceptionFactory(CreationalContext<T> ctx, Class<T> clazz)ObjectBeanManagerImpl. getInjectableReference(InjectionPoint injectionPoint, CreationalContext<?> creationalContext)ObjectBeanManagerImpl. getInjectableReference(InjectionPoint injectionPoint, Bean<?> resolvedBean, CreationalContext<?> creationalContext)Get a reference, registering the injection point used.<T> WeldInstance<Object>BeanManagerImpl. getInstance(CreationalContext<?> ctx)ObjectBeanManagerImpl. getReference(Bean<?> bean, Type requestedType, CreationalContext<?> creationalContext)ObjectBeanManagerImpl. getReference(Bean<?> bean, Type requestedType, CreationalContext<?> creationalContext, boolean noProxy)ObjectBeanManagerImpl. getReference(InjectionPoint injectionPoint, Bean<?> resolvedBean, CreationalContext<?> creationalContext)Deprecated. -
Uses of CreationalContext in org.jboss.weld.serialization
Methods in org.jboss.weld.serialization with parameters of type CreationalContext Modifier and Type Method Description <C extends Contextual<I>,I>
org.jboss.weld.serialization.spi.helpers.SerializableContextualInstance<C,I>ContextualStoreImpl. getSerializableContextualInstance(Contextual<I> contextual, I instance, CreationalContext<I> creationalContext) -
Uses of CreationalContext in org.jboss.weld.util
Methods in org.jboss.weld.util that return CreationalContext Modifier and Type Method Description <T> CreationalContext<T>ForwardingBeanManager. createCreationalContext(Contextual<T> contextual)Methods in org.jboss.weld.util with parameters of type CreationalContext Modifier and Type Method Description static <T> voidBeans. callInitializers(T instance, CreationalContext<T> creationalContext, BeanManagerImpl manager, Iterable<? extends MethodInjectionPoint<?,?>> initializerMethods)Calls all initializers of the bean<T> InterceptionFactory<T>ForwardingBeanManager. createInterceptionFactory(CreationalContext<T> ctx, Class<T> clazz)<T> TForwardingContext. get(Contextual<T> contextual, CreationalContext<T> creationalContext)ObjectForwardingBeanManager. getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)static <T> TDecorators. getOuterDelegate(Bean<T> bean, T instance, CreationalContext<T> creationalContext, Class<T> proxyClass, InjectionPoint originalInjectionPoint, BeanManagerImpl manager, List<Decorator<?>> decorators)ObjectForwardingBeanManager. getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx)static <T> voidBeans. injectBoundFields(T instance, CreationalContext<T> creationalContext, BeanManagerImpl manager, Iterable<? extends FieldInjectionPoint<?,?>> injectableFields)Injects bound fieldsstatic <T> voidBeans. injectEEFields(Iterable<Set<ResourceInjection<?>>> resourceInjectionsHierarchy, T beanInstance, CreationalContext<T> ctx)Injects EJBs and other EE resources.static <T> voidBeans. injectFieldsAndInitializers(T instance, CreationalContext<T> ctx, BeanManagerImpl beanManager, List<? extends Iterable<? extends FieldInjectionPoint<?,?>>> injectableFields, List<? extends Iterable<? extends MethodInjectionPoint<?,?>>> initializerMethods) -
Uses of CreationalContext in org.jboss.weld.util.bean
Methods in org.jboss.weld.util.bean with parameters of type CreationalContext Modifier and Type Method Description TIsolatedForwardingBean. create(CreationalContext<T> creationalContext)voidIsolatedForwardingBean. destroy(T instance, CreationalContext<T> creationalContext)
-