com.activegrid.runtime.data
Interface DataServiceManager


Deprecated. This is now deprecated; see DataServiceManager. This will be removed in a future release.

@Deprecated
public interface DataServiceManager

Entry point of Data Service API. Every service that is a "Data Service" has one associated DataServiceManager instance.

Version:
$Rev: 29059 $ - $Date: 2010-04-29 17:19:33 -0700 (Thu, 29 Apr 2010) $
Author:
Simon Toens

Method Summary
 void begin()
          Deprecated. Start a transaction, ignored if a tx is already running.
 void commit()
          Deprecated. Commit the current transaction, if one is in progress.
 void dispose()
          Deprecated.  
 com.activegrid.runtime.data.DataServiceMetaData getMetaData()
          Deprecated.  
 org.hibernate.Session getSession()
          Deprecated.  
 java.lang.Object invoke(com.activegrid.runtime.data.Task task, java.lang.Object... input)
          Deprecated. Run a Task instance within a Transaction.
 void rollback()
          Deprecated. Rollback the current transaction, if one is in progress.
 

Method Detail

begin

void begin()
Deprecated. 
Start a transaction, ignored if a tx is already running.


commit

void commit()
Deprecated. 
Commit the current transaction, if one is in progress.


rollback

void rollback()
Deprecated. 
Rollback the current transaction, if one is in progress.


invoke

java.lang.Object invoke(com.activegrid.runtime.data.Task task,
                        java.lang.Object... input)
Deprecated. 
Run a Task instance within a Transaction.

Parameters:
task - The task to run
input - Generic input the task may use
Returns:
Return value, may be null

getSession

org.hibernate.Session getSession()
Deprecated. 
Returns:
The Hibernate Session.

getMetaData

com.activegrid.runtime.data.DataServiceMetaData getMetaData()
Deprecated. 

dispose

void dispose()
Deprecated.