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 Type
    Method
    Description
    Class<? extends T>
    Returns the enhanced subclass of the component type.
  • Method Details

    • getComponentSubclass

      Class<? extends T> 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