Class SessionBeanProxyInstantiator<T>
- java.lang.Object
-
- org.jboss.weld.injection.producer.ejb.SessionBeanProxyInstantiator<T>
-
- All Implemented Interfaces:
Instantiator<T>
public class SessionBeanProxyInstantiator<T> extends Object implements Instantiator<T>
Instantiator implementation that instantiates a proxy for a session bean.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description SessionBeanProxyInstantiator(EnhancedAnnotatedType<T> type, SessionBean<T> bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EnterpriseTargetBeanInstancecreateEnterpriseTargetBeanInstance()SessionBean<T>getBean()Constructor<T>getConstructor()Returns the constructor used for instantiation.booleanhasDecoratorSupport()Indicates whether instances created by this Instantiator support decorators.booleanhasInterceptorSupport()Indicates whether instances created by this Instantiator support interception.TnewInstance(javax.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager)
-
-
-
Constructor Detail
-
SessionBeanProxyInstantiator
public SessionBeanProxyInstantiator(EnhancedAnnotatedType<T> type, SessionBean<T> bean)
-
-
Method Detail
-
newInstance
public T newInstance(javax.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager)
- Specified by:
newInstancein interfaceInstantiator<T>
-
createEnterpriseTargetBeanInstance
protected EnterpriseTargetBeanInstance createEnterpriseTargetBeanInstance()
-
hasInterceptorSupport
public boolean hasInterceptorSupport()
Description copied from interface:InstantiatorIndicates whether instances created by this Instantiator support interception.- Specified by:
hasInterceptorSupportin interfaceInstantiator<T>
-
hasDecoratorSupport
public boolean hasDecoratorSupport()
Description copied from interface:InstantiatorIndicates whether instances created by this Instantiator support decorators.- Specified by:
hasDecoratorSupportin interfaceInstantiator<T>
-
getBean
public SessionBean<T> getBean()
-
getConstructor
public Constructor<T> getConstructor()
Description copied from interface:InstantiatorReturns the constructor used for instantiation. If an enhanced subclass is used for a component instance, this method returns the matching constructor of the original component class.- Specified by:
getConstructorin interfaceInstantiator<T>
-
-