Interface StatefulSessionBeanInstanceFactory<V>

Type Parameters:
V - the bean instance type
All Known Implementing Classes:
StatefulSessionComponent

public interface StatefulSessionBeanInstanceFactory<V>
Factory for creating stateful session bean instances.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new instance of this component.
  • Method Details

    • createInstance

      V createInstance()
      Create a new instance of this component. This may be invoked by a component interceptor, a client interceptor, or in the course of creating a new client, or in the case of an "eager" singleton, at component start. This method will block until the component is available. If the component fails to start then a runtime exception will be thrown.

      The instance has been injected and post-construct has been called.

      Returns:
      the component instance