com.resilientedge.jockey.core
Class InstanceWatcher

java.lang.Object
  |
  +--com.resilientedge.jockey.core.InstanceWatcher

public class InstanceWatcher
extends java.lang.Object

Provides management of Jockey instances.


Method Summary
static void deregister()
          Deregisters this Jockey instance This removes knowledge of this instance from the JNI library.
protected  void finalize()
          Makes sure to cleanup everything
static InstanceWatcher getInstance()
          No argument constructor
static void register()
          Registers this Jockey instance Add this instance to the JNI library; after this, callbacks can occur.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static InstanceWatcher getInstance()
No argument constructor

finalize

protected void finalize()
Makes sure to cleanup everything
Overrides:
finalize in class java.lang.Object

register

public static void register()
Registers this Jockey instance Add this instance to the JNI library; after this, callbacks can occur.

deregister

public static void deregister()
Deregisters this Jockey instance This removes knowledge of this instance from the JNI library. Should only be done on shutdown.


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.