/** * Obtain a context reference {@link ContextRef} for a specific object. Tracking reference is cached until * {{@link #clearRef(Object)} is called. Use this method to track object references across threads within the same * JVM. * * @param obj * object for which context reference is obtained * @return context reference associated with the specified object */ public ContextRef getRef(Object obj) { return getRef(obj, DefaultUUIDFactory.getInstance().newUUID()); }