Package org.jboss.weld.ejb.spi
Interface SubclassedComponentDescriptor<T>
- Type Parameters:
T- the component type
public interface SubclassedComponentDescriptor<T>
An implementation of
EjbDescriptor may optionally implement this interface if the EJB container uses
subclassing to implement EJB functionality. Weld will use the class returned from getComponentSubclass()
when instantiating a new EJB instance.- Author:
- Jozef Hartinger
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enhanced subclass of the component type.
-
Method Details
-
getComponentSubclass
Returns the enhanced subclass of the component type. Weld will use this subclass to create EJB instances instead of creating instances of the component class.- Returns:
- the enhanced subclass of the component type
-