public class ReferenceBundle
extends Object
Couples a ReferenceType with the ReferenceManager responsible for processing it.
| Constructor and description |
|---|
ReferenceBundle(ReferenceManager manager, ReferenceType type)Creates a reference bundle for the supplied manager and reference type. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static ReferenceBundle |
getHardBundle()Returns the shared hard-reference bundle. |
|
public ReferenceManager |
getManager()Returns the manager associated with this bundle. |
|
public static ReferenceBundle |
getPhantomBundle()Returns the shared phantom-reference bundle. |
|
public static ReferenceBundle |
getSoftBundle()Returns the shared soft-reference bundle. |
|
public ReferenceType |
getType()Returns the reference kind represented by this bundle. |
|
public static ReferenceBundle |
getWeakBundle()Returns the shared weak-reference bundle. |
Creates a reference bundle for the supplied manager and reference type.
manager - the manager that processes collected referencestype - the reference kind to createReturns the shared hard-reference bundle.
Returns the manager associated with this bundle.
Returns the shared phantom-reference bundle.
Returns the shared soft-reference bundle.
Returns the reference kind represented by this bundle.
Returns the shared weak-reference bundle.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.