Interface InstanceHandle<T>

  • All Known Implementing Classes:
    ImmediateInstanceHandle

    public interface InstanceHandle<T>
    A handle for a container managed instance. When the servlet container is done with it it should call the release() method
    Author:
    Stuart Douglas
    • Method Detail

      • getInstance

        T getInstance()
        Returns:
        The managed instance
      • release

        void release()
        releases the instance, uninjecting and calling an pre-destroy methods as appropriate