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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<T>getConstructor()org.jboss.weld.injection.ConstructorInjectionPoint<T>getConstructorInjectionPoint()booleanhasDecoratorSupport()booleanhasInterceptorSupport()TnewInstance(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 Detail
-
getConstructorInjectionPoint
public org.jboss.weld.injection.ConstructorInjectionPoint<T> getConstructorInjectionPoint()
- Specified by:
getConstructorInjectionPointin classorg.jboss.weld.injection.producer.AbstractInstantiator<T>
-
hasInterceptorSupport
public boolean hasInterceptorSupport()
-
hasDecoratorSupport
public boolean hasDecoratorSupport()
-
getConstructor
public Constructor<T> getConstructor()
-
newInstance
public T newInstance(jakarta.enterprise.context.spi.CreationalContext<T> ctx, org.jboss.weld.manager.BeanManagerImpl manager)
-
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.
-
-