Class ValueManagedReference

    • Constructor Detail

      • ValueManagedReference

        @Deprecated
        public ValueManagedReference​(org.jboss.msc.value.Value<?> value)
        Deprecated.
        use ValueManagedReference(Object) instead. This constructor will be removed in the future.
        Construct a new instance.
        Parameters:
        value - the value to wrap
      • ValueManagedReference

        public ValueManagedReference​(Object value)
        Construct a new instance.
        Parameters:
        value - the value to wrap
    • Method Detail

      • 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