congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IJIComObject.registerUnreferencedHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
registerUnreferencedHandler
method
in
org.jinterop.dcom.core.IJIComObject

Best Java code snippets using org.jinterop.dcom.core.IJIComObject.registerUnreferencedHandler (Showing top 6 results out of 315)

origin: org.openscada.jinterop/org.openscada.jinterop.core

@Override
public void registerUnreferencedHandler ( final IJIUnreferenced unreferenced )
{
  this.comObject.registerUnreferencedHandler ( unreferenced );
}
origin: org.jinterop/j-interop

public void registerUnreferencedHandler(IJIUnreferenced unreferenced) {
  comObject.registerUnreferencedHandler(unreferenced);
}
origin: org.kohsuke.jinterop/j-interop

public void registerUnreferencedHandler(IJIUnreferenced unreferenced) {
  comObject.registerUnreferencedHandler(unreferenced);
}
origin: org.kohsuke.jinterop/j-interop

IJIComObject wbemServices = JIObjectFactory.narrowObject((IJIComObject)((Object[])comObject.call(callObject))[0]);
wbemServices.setInstanceLevelSocketTimeout(1000);
wbemServices.registerUnreferencedHandler(new IJIUnreferenced(){
  public void unReferenced()
System.out.println(object2.isDispatchSupported());
object2.registerUnreferencedHandler(new IJIUnreferenced(){
  public void unReferenced()
origin: org.jinterop/j-interop

IJIComObject wbemServices = JIObjectFactory.narrowObject((IJIComObject)((Object[])comObject.call(callObject))[0]);
wbemServices.setInstanceLevelSocketTimeout(1000);
wbemServices.registerUnreferencedHandler(new IJIUnreferenced(){
  public void unReferenced()
System.out.println(object2.isDispatchSupported());
object2.registerUnreferencedHandler(new IJIUnreferenced(){
  public void unReferenced()
origin: org.openscada.jinterop/org.openscada.jinterop.core

final IJIComObject wbemServices = JIObjectFactory.narrowObject ( (IJIComObject)this.comObject.call ( callObject )[0] );
wbemServices.setInstanceLevelSocketTimeout ( 1000 );
wbemServices.registerUnreferencedHandler ( new IJIUnreferenced () {
  @Override
  public void unReferenced ()
System.out.println ( object2.isDispatchSupported () );
object2.registerUnreferencedHandler ( new IJIUnreferenced () {
  @Override
  public void unReferenced ()
org.jinterop.dcom.coreIJIComObjectregisterUnreferencedHandler

Javadoc

Adds a IJIUnreferenced handler. The handler will be invoked when this comObject goes out of reference and is removed from it's session by the library. Only a single handler can be added for each object. If a handler for this object already exists , it would be replaced by this call.

Popular methods of IJIComObject

  • queryInterface
    Retrieve interface references based on iid. Make sure to narrow before casting to the expected type
  • call
    Refer #call(JICallBuilder) for details on this method.
  • getAssociatedSession
    Returns session associated with this object.
  • addRef
    Increases the reference count on the COM server by 5 (currently hard coded). The developer should r
  • getInstanceLevelSocketTimeout
    Returns the socket timeout set at the instance level. This timeout value is used during all socket l
  • getInterfaceIdentifier
    Returns the COM IID of this object
  • getIpid
    Unique 128 bit uuid representing the interface on the COM server. This value can and should be used
  • getUnreferencedHandler
    Returns the IJIUnreferenced handler associated with this object.
  • internal_getConnectionInfo
    Framework Internal Returns the ConnectionPoint (IJIComObject) and it's Cookie.
  • internal_getInterfacePointer
    Framework Internal Returns self Interface pointer.
  • internal_removeConnectionInfo
    Framework Internal Returns and Removes the connection info from the internal map.
  • internal_setConnectionInfo
    Adds a connection point information and it's cookie to the connectionPointMap internally. To be call
  • internal_removeConnectionInfo,
  • internal_setConnectionInfo,
  • internal_setDeffered,
  • isDispatchSupported,
  • isLocalReference,
  • release,
  • setInstanceLevelSocketTimeout,
  • unregisterUnreferencedHandler

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now