Class ValueManagedReferenceFactory.ValueManagedReference

java.lang.Object
org.jboss.as.naming.ValueManagedReferenceFactory.ValueManagedReference
All Implemented Interfaces:
Serializable, ManagedReference
Enclosing class:
ValueManagedReferenceFactory

public static class ValueManagedReferenceFactory.ValueManagedReference extends Object implements ManagedReference, Serializable
See Also:
  • Method Details

    • release

      public void release()
      Description copied from interface: ManagedReference
      Release the reference. Depending on the implementation this may destroy the underlying object.

      Implementers should take care to make this method idempotent, as it may be called multiple times.

      Specified by:
      release in interface ManagedReference
    • getInstance

      public Object getInstance()
      Description copied from interface: ManagedReference
      Get the object instance.
      Specified by:
      getInstance in interface ManagedReference
      Returns:
      the object this reference refers to