isc.sensor.outputadaptor
Class OAHandle

java.lang.Object
  extended by isc.sensor.outputadaptor.OAHandle
Direct Known Subclasses:
OAObjectManager

public abstract class OAHandle
extends java.lang.Object

Manage the single connection to the Openadaptor service.
All instances of OAObjectManager will use this single connection.

Author:
John Casey
Project: DNA_sensor - Dec 2005

Field Summary
protected static org.openadaptor.adaptor.RunAdaptor adaptor
          The adaptor connection
protected static java.lang.String CONFIG_FILE
          Property for the server's config file
protected static boolean initialized
          boolean flag for initialization
protected static org.apache.log4j.Logger log
          log4j
protected static java.lang.String PROP_OA_ADAPTER_NAME
          Property for the open adaptor name in the config file.
protected static java.lang.String PROP_OA_SOURCE_NAME
          Property for this localsource's name eg: .C1 as in A.C1
protected  AppProperties props
          Application properties
protected static OALocalAsyncSource source
          The adaptor's source object
 
Constructor Summary
OAHandle()
          Constructor
 
Method Summary
protected  void finalize()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

props

protected AppProperties props
Application properties


CONFIG_FILE

protected static final java.lang.String CONFIG_FILE
Property for the server's config file

See Also:
Constant Field Values

PROP_OA_ADAPTER_NAME

protected static final java.lang.String PROP_OA_ADAPTER_NAME
Property for the open adaptor name in the config file. eg: "A."

See Also:
Constant Field Values

PROP_OA_SOURCE_NAME

protected static final java.lang.String PROP_OA_SOURCE_NAME
Property for this localsource's name eg: .C1 as in A.C1

See Also:
Constant Field Values

adaptor

protected static org.openadaptor.adaptor.RunAdaptor adaptor
The adaptor connection


source

protected static OALocalAsyncSource source
The adaptor's source object


initialized

protected static volatile boolean initialized
boolean flag for initialization


log

protected static org.apache.log4j.Logger log
log4j

Constructor Detail

OAHandle

public OAHandle()
Constructor

Method Detail

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object
See Also:

Close connection only when source queue is dry