public interface WeakReferenceTarget
Specifies that a metadata object can be the target of a weak reference. Any object implementing this interface may be the target of more than one weak reference and is not owned by the source of the reference.
The value returned by the getWeakTargetReference() method
is used by IO operations such as XML input and output. The unique identification for the target
of the reference returned by getAUID() is used for creating and resolving
weak references.
In MAJ, resolution of references can be normally be achieved by using methods in the
industry package. For example,
Warehouse.lookForType(String) and
Warehouse.lookup(Class, String).
| Modifier and Type | Method and Description |
|---|---|
AUID |
getAUID()
Returns the unique identifier of the target of the reference.
|
String |
getWeakTargetReference()
Provides a name that can be used to make a weak object reference to an
instance of the implementing class.
|
String getWeakTargetReference()
Provides a name that can be used to make a weak object reference to an instance of the implementing class.
AUID getAUID()
Returns the unique identifier of the target of the reference.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.