// XWeak impl /** The returned XAdapter implementation can be used to keap a weak reference to this object. @return a weak adapter */ public XAdapter queryAdapter() { if (null == m_adapter) { lock (this) { if (null == m_adapter) m_adapter = new WeakAdapter( this ); } } return m_adapter; }
// XWeak impl /** The returned XAdapter implementation can be used to keap a * weak reference to this object. * * @return a weak adapter */ public XAdapter queryAdapter() { if (null == m_adapter) { lock (this) { if (null == m_adapter) { m_adapter = new WeakAdapter(this); } } } return(m_adapter); }