com.ontotext.ordi.tripleset.impl
Class TConnectionImpl
java.lang.Object
  
com.ontotext.ordi.tripleset.WarningAwareImpl
      
com.ontotext.ordi.tripleset.ConnectionImpl
          
com.ontotext.ordi.tripleset.impl.TConnectionImpl
- All Implemented Interfaces: 
 - Connection, TConnection, WarningAware, Wrapper
 
- Direct Known Subclasses: 
 - TQueryConnectionImpl
 
public abstract class TConnectionImpl
- extends ConnectionImpl
- implements TConnection
  
 
 
 
 
| 
Method Summary | 
 void | 
addListener(Listener listener)
 
          Adds a new connection listener. | 
 void | 
close()
 
          Releases all resources hold by this instance. | 
 void | 
commit()
 
          Commits all operations part of the current transaction. | 
 List<Listener> | 
listListeners()
 
          Lists all associated connection listeners. | 
 void | 
removeListener(Listener listener)
 
          Removes previously associated connection listener. | 
 void | 
rollback()
 
          Rollbacks all operations part of the current transaction. | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
listeners
protected final CallMultiplexor listeners
TConnectionImpl
public TConnectionImpl(TSource source)
addListener
public void addListener(Listener listener)
- Description copied from interface: 
TConnection 
- Adds a new connection listener.
- Specified by:
 addListener in interface TConnection
 
 
 
removeListener
public void removeListener(Listener listener)
- Description copied from interface: 
TConnection 
- Removes previously associated connection listener.
- Specified by:
 removeListener in interface TConnection
 
 
 
listListeners
public List<Listener> listListeners()
- Description copied from interface: 
TConnection 
- Lists all associated connection listeners.
- Specified by:
 listListeners in interface TConnection
 
- Returns:
 - list of listeners
 
 
 
close
public void close()
           throws ORDIException
- Description copied from interface: 
Connection 
- Releases all resources hold by this instance.
- Specified by:
 close in interface Connection
 
- Throws:
 ORDIException
 
 
commit
public void commit()
            throws ORDIException
- Description copied from interface: 
Connection 
- Commits all operations part of the current transaction.
- Specified by:
 commit in interface Connection
 
- Throws:
 ORDIException
 
 
rollback
public void rollback()
              throws ORDIException
- Description copied from interface: 
Connection 
- Rollbacks all operations part of the current transaction.
- Specified by:
 rollback in interface Connection
 
- Throws:
 ORDIException
 
 
Copyright © 2008. All Rights Reserved.