/**Detaches the event handler identified by <code>identifier</code> and associated with this <code>comObject</code>. This method * will raise an exception if the <code>identifier</code> is invalid. * * @param comObject * @param identifier * @throws JIException */ public static void detachEventHandler(IJIComObject comObject, String identifier) throws JIException { JIFrameworkHelper.detachEventHandler(comObject, identifier); }
/**Detaches the event handler identified by <code>identifier</code> and associated with this <code>comObject</code>. This method * will raise an exception if the <code>identifier</code> is invalid. * * @param comObject * @param identifier * @throws JIException */ public static void detachEventHandler(IJIComObject comObject, String identifier) throws JIException { JIFrameworkHelper.detachEventHandler(comObject, identifier); }
/** * Detaches the event handler identified by <code>identifier</code> and * associated with this <code>comObject</code>. This method * will raise an exception if the <code>identifier</code> is invalid. * * @param comObject * @param identifier * @throws JIException */ public static void detachEventHandler ( final IJIComObject comObject, final String identifier ) throws JIException { JIFrameworkHelper.detachEventHandler ( comObject, identifier ); }
public synchronized void detach () throws JIException { if ( this.object != null && this.identifier != null ) { try { JIFrameworkHelper.detachEventHandler ( this.object, this.identifier ); } finally { this.object = null; this.identifier = null; } } }