Class JerseyTwofoldInstantiator<T>
java.lang.Object
org.jboss.weld.injection.producer.AbstractInstantiator<T>
org.glassfish.jersey.inject.weld.internal.injector.JerseyTwofoldInstantiator<T>
- Type Parameters:
T- the class of the instantiator.
- All Implemented Interfaces:
org.jboss.weld.injection.producer.Instantiator<T>
public class JerseyTwofoldInstantiator<T>
extends org.jboss.weld.injection.producer.AbstractInstantiator<T>
An implementation of an instantiator capable of instantiating different instance for the client and server side.
-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.weld.injection.ConstructorInjectionPoint<T>booleanbooleanbooleannewInstance(jakarta.enterprise.context.spi.CreationalContext<T> ctx, org.jboss.weld.manager.BeanManagerImpl manager) voidsetOptionalConstructorInjectionPoint(org.jboss.weld.injection.ConstructorInjectionPoint<T> optionalConstructorInjectionPoint) Set the optional constuctor injection point for the client side instantiation.
-
Method Details
-
getConstructorInjectionPoint
- Specified by:
getConstructorInjectionPointin classorg.jboss.weld.injection.producer.AbstractInstantiator<T>
-
hasInterceptorSupport
public boolean hasInterceptorSupport() -
hasDecoratorSupport
public boolean hasDecoratorSupport() -
getConstructor
-
newInstance
-
setOptionalConstructorInjectionPoint
public void setOptionalConstructorInjectionPoint(org.jboss.weld.injection.ConstructorInjectionPoint<T> optionalConstructorInjectionPoint) Set the optional constuctor injection point for the client side instantiation.- Parameters:
optionalConstructorInjectionPoint- The optional constructor injection point.
-
hasOptionalConstructorInjectionPoint
public boolean hasOptionalConstructorInjectionPoint()
-