Class ImmediateInstanceHandle<T>

  • All Implemented Interfaces:
    InstanceHandle<T>

    public class ImmediateInstanceHandle<T>
    extends java.lang.Object
    implements InstanceHandle<T>
    Author:
    Stuart Douglas
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getInstance()  
      void release()
      releases the instance, uninjecting and calling an pre-destroy methods as appropriate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImmediateInstanceHandle

        public ImmediateInstanceHandle​(T instance)
    • Method Detail

      • release

        public void release()
        Description copied from interface: InstanceHandle
        releases the instance, uninjecting and calling an pre-destroy methods as appropriate
        Specified by:
        release in interface InstanceHandle<T>