com.moesol.bindings.platform_sdk.data_services
Class Connection

java.lang.Object
  extended by com.moesol.bindings.platform_sdk.component_services.IUnknown.Jni
      extended by com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
          extended by com.moesol.bindings.platform_sdk.data_services._ADO.Jni
              extended by com.moesol.bindings.platform_sdk.data_services.Connection15.Jni
                  extended by com.moesol.bindings.platform_sdk.data_services._Connection.Jni
                      extended by com.moesol.bindings.platform_sdk.data_services.Connection
All Implemented Interfaces:
IDispatch, IUnknown, _ADO, _Connection, Connection15
Direct Known Subclasses:
Connection.Jni

public class Connection
extends _Connection.Jni

IDL: [ helpstring(""), creatable, licensed ]

coclass Connection {
    [default] dispatch _Connection
    [default, source] dispatch ConnectionEvents
};


Nested Class Summary
static class Connection.Jni
           
 
Nested classes/interfaces inherited from class com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
IDispatch.Jni.MoeSolInternal
 
Nested classes/interfaces inherited from interface com.moesol.bindings.platform_sdk.data_services._Connection
_Connection.Disp
 
Field Summary
static GUID CLSID
          IDL: [uuid(00000514-0000-0010-8000-00AA006D2EA4)]
static Class TYPELIB
           
 
Fields inherited from interface com.moesol.bindings.platform_sdk.data_services._Connection
IID
 
Fields inherited from interface com.moesol.bindings.platform_sdk.component_services.IDispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  Connection()
          Create a new instance using CLSCTX_ALL.
protected Connection(Connection.Jni marker)
          Create a new instances for reverse COM.
  Connection(int clsctx)
          Create a new instance.
 
Method Summary
 int addConnectionEventsListener(ConnectionEvents l)
          Add a listener for ConnectionEvents.
 void removeConnectionEventsListener(ConnectionEvents l)
          Remove listener for ConnectionEvents.
 
Methods inherited from class com.moesol.bindings.platform_sdk.data_services._Connection.Jni
Cancel
 
Methods inherited from class com.moesol.bindings.platform_sdk.data_services.Connection15.Jni
BeginTrans, Close, CommitTrans, Execute, getAttributes, getCommandTimeout, getConnectionString, getConnectionTimeout, getCursorLocation, getDefaultDatabase, getErrors, getIsolationLevel, getMode, getProvider, getState, getVersion, Open, OpenSchema, OpenSchema, OpenSchema, RollbackTrans, setAttributes, setCommandTimeout, setConnectionString, setConnectionTimeout, setCursorLocation, setDefaultDatabase, setIsolationLevel, setMode, setProvider
 
Methods inherited from class com.moesol.bindings.platform_sdk.data_services._ADO.Jni
getProperties
 
Methods inherited from class com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
Invoke
 
Methods inherited from class com.moesol.bindings.platform_sdk.component_services.IUnknown.Jni
equals, finalize, hashCode, internalOnSetInterface, QueryInterface, QueryInterface, Release, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.moesol.bindings.platform_sdk.data_services.Connection15
BeginTrans, Close, CommitTrans, Execute, getAttributes, getCommandTimeout, getConnectionString, getConnectionTimeout, getCursorLocation, getDefaultDatabase, getErrors, getIsolationLevel, getMode, getProvider, getState, getVersion, Open, OpenSchema, OpenSchema, OpenSchema, RollbackTrans, setAttributes, setCommandTimeout, setConnectionString, setConnectionTimeout, setCursorLocation, setDefaultDatabase, setIsolationLevel, setMode, setProvider
 
Methods inherited from interface com.moesol.bindings.platform_sdk.data_services._ADO
getProperties
 
Methods inherited from interface com.moesol.bindings.platform_sdk.component_services.IUnknown
QueryInterface, QueryInterface, Release
 

Field Detail

TYPELIB

public static final Class TYPELIB

CLSID

public static final GUID CLSID
IDL: [uuid(00000514-0000-0010-8000-00AA006D2EA4)]

Constructor Detail

Connection

public Connection()
Create a new instance using CLSCTX_ALL.


Connection

public Connection(int clsctx)
Create a new instance.

Parameters:
clsctx - Context in which the code that manages the newly created object will run. The values are taken from the enumeration CLSCTX.

Connection

protected Connection(Connection.Jni marker)
Create a new instances for reverse COM. Does not call CoCreateInstance.

Parameters:
marker -
Method Detail

addConnectionEventsListener

public int addConnectionEventsListener(ConnectionEvents l)
Add a listener for ConnectionEvents.


removeConnectionEventsListener

public void removeConnectionEventsListener(ConnectionEvents l)
Remove listener for ConnectionEvents.



Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.