org.gcube.messaging.common.consumerlibrary
Class ConsumerCL

java.lang.Object
  extended by org.gcube.messaging.common.consumerlibrary.ConsumerCL

public class ConsumerCL
extends Object

Author:
andrea

Constructor Summary
ConsumerCL(org.gcube.common.clients.delegates.ProxyDelegate<MessagingServiceJAXWSStubs> config)
           
 
Method Summary
 void backupAccountingDB()
           
 void backupMonitoringDB()
           
<QUERY extends Query<ConsumerCL>>
QUERY
getQuery(Class<QUERY> type, ConsumerCL call)
          Returns a query from the interface or class which defines its type.
 String queryAccountingDB(String query)
           
 String queryMonitoringDB(String query)
           
 String querySystemAccountingDB(String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerCL

public ConsumerCL(org.gcube.common.clients.delegates.ProxyDelegate<MessagingServiceJAXWSStubs> config)
Method Detail

backupMonitoringDB

public void backupMonitoringDB()
                        throws Exception
Throws:
Exception

backupAccountingDB

public void backupAccountingDB()
                        throws Exception
Throws:
Exception

queryMonitoringDB

public String queryMonitoringDB(String query)
                         throws Exception
Throws:
Exception

queryAccountingDB

public String queryAccountingDB(String query)
                         throws Exception
Throws:
Exception

querySystemAccountingDB

public String querySystemAccountingDB(String query)
                               throws Exception
Throws:
Exception

getQuery

public <QUERY extends Query<ConsumerCL>> QUERY getQuery(Class<QUERY> type,
                                                        ConsumerCL call)
                                         throws InstantiationException,
                                                IllegalAccessException
Returns a query from the interface or class which defines its type. The method is intended as a means to bind query interfaces to concrete implementations provided along with implementations of this interface.

Type Parameters:
QUERY - the type of the query which produces results
Parameters:
type - the query interface or class.
Returns:
the query.
Throws:
IllegalAccessException - IllegalAccessException
InstantiationException - IllegalAccessException


Copyright © 2013. All Rights Reserved.