Class WTContainerRef

java.lang.Object
wt.fc._ObjectReference
wt.fc.ObjectReference
wt.fc._CachedObjectReference
wt.fc.CachedObjectReference
wt.inf.container._WTContainerRef
wt.inf.container.WTContainerRef
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, _WTReference, NetFactor, ObjectMappable, WTReference, Evolvable

Use the newWTContainerRef static factory method(s), not the WTContainerRef constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • newWTContainerRef

      public static WTContainerRef newWTContainerRef(WTContainer container) throws WTException


      Supported API: true
      Parameters:
      container -
      Returns:
      WTContainerRef
      Throws:
      WTException
    • initialize

      protected void initialize(WTContainer container) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      container -
      Throws:
      WTException
    • newWTContainerRef

      public static WTContainerRef newWTContainerRef(WTContainerRef ref) throws WTException


      Supported API: true
      Parameters:
      ref -
      Returns:
      WTContainerRef
      Throws:
      WTException
    • initialize

      protected void initialize(WTContainerRef ref) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      ref -
      Throws:
      WTException
    • getReferencedContainerReadOnly

      public WTContainer getReferencedContainerReadOnly()
      Returns a read-only reference to the cached instance of the container.

      Supported API: true
      Returns:
      WTContainer