org.apache.myfaces.trinidad.util.ref

## Class StrongPseudoReferenceFactory<T>

- java.lang.Object
- - org.apache.myfaces.trinidad.util.ref.PseudoReferenceFactory<T>
  - - org.apache.myfaces.trinidad.util.ref.StrongPseudoReferenceFactory<T>

-     public final class StrongPseudoReferenceFactory<T>
      extends PseudoReferenceFactory<T>

  PseudoReferenceFactory for creating StrongPseudoReferences to Objects.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrongPseudoReferenceFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PseudoReference<T>` | `create(T referent, ReferenceQueue<? super T> queue)` Creates and returns a StrongPseudoReference to the referent

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StrongPseudoReferenceFactory

          public StrongPseudoReferenceFactory()

  - ### Method Detail

    - #### create

          public PseudoReference<T> create(T referent,
                                  ReferenceQueue<? super T> queue)

      Creates and returns a StrongPseudoReference to the referent
      Specified by:
        `create` in class `PseudoReferenceFactory<T>`
      Parameters:
        `referent` -
        `queue` - Optional attribute specifying the ReferenceQueue to use for the created PseudoReference. If the PseudoReference doesn't support ReferenceQueues, this attribute will be ignored
      Returns:
        the created PseudoReference

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.