org.teiid.rhq.admin
Class DQPManagementView

java.lang.Object
  extended by org.teiid.rhq.admin.DQPManagementView
All Implemented Interfaces:
PluginConstants

public class DQPManagementView
extends java.lang.Object
implements PluginConstants


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teiid.rhq.plugin.util.PluginConstants
PluginConstants.ComponentType, PluginConstants.Metric, PluginConstants.Operation
 
Field Summary
 
Fields inherited from interface org.teiid.rhq.plugin.util.PluginConstants
DEFAULT_LOGGER_CATEGORY, PROFILE_SERVICE
 
Constructor Summary
DQPManagementView()
           
 
Method Summary
static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.jboss.managed.api.ManagedComponent mc, java.lang.String operation, org.jboss.metatype.api.values.MetaValue... args)
           
 void executeOperation(ExecutedResult operationResult, java.util.Map<java.lang.String,java.lang.Object> valueMap)
           
protected  org.jboss.metatype.api.values.MetaValue getLongRunningQueries()
           
static org.jboss.metatype.api.values.MetaValue getManagedProperty(org.jboss.managed.api.ManagedComponent mc, java.lang.String property, org.jboss.metatype.api.values.MetaValue... args)
           
 java.lang.Object getMetric(java.lang.String componentType, java.lang.String identifier, java.lang.String metric, java.util.Map<java.lang.String,java.lang.Object> valueMap)
           
 org.jboss.metatype.api.values.MetaValue getProperties(java.lang.String component)
           
protected  org.jboss.metatype.api.values.MetaValue getRequests()
           
protected  org.jboss.metatype.api.values.MetaValue getRequestsForVDB(java.lang.String vdbName, int vdbVersion)
           
static
<T> void
getSessionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue, java.util.Collection<Session> list)
           
static
<T> void
getSessionCollectionValueForVDB(org.jboss.metatype.api.values.MetaValue pValue, java.util.Collection<Session> list, java.lang.String vdbName)
           
 org.jboss.metatype.api.values.MetaValue getSessions()
           
static
<T> void
getTransactionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue, java.util.Collection<Transaction> list)
           
protected  org.jboss.metatype.api.values.MetaValue getTransactions()
           
static java.lang.String getVDBStatus(java.lang.String vdbName, int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DQPManagementView

public DQPManagementView()
Method Detail

getMetric

public java.lang.Object getMetric(java.lang.String componentType,
                                  java.lang.String identifier,
                                  java.lang.String metric,
                                  java.util.Map<java.lang.String,java.lang.Object> valueMap)

executeOperation

public void executeOperation(ExecutedResult operationResult,
                             java.util.Map<java.lang.String,java.lang.Object> valueMap)

getProperties

public org.jboss.metatype.api.values.MetaValue getProperties(java.lang.String component)

getRequests

protected org.jboss.metatype.api.values.MetaValue getRequests()

getRequestsForVDB

protected org.jboss.metatype.api.values.MetaValue getRequestsForVDB(java.lang.String vdbName,
                                                                    int vdbVersion)

getTransactions

protected org.jboss.metatype.api.values.MetaValue getTransactions()

getSessions

public org.jboss.metatype.api.values.MetaValue getSessions()

getVDBStatus

public static java.lang.String getVDBStatus(java.lang.String vdbName,
                                            int version)

executeManagedOperation

public static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.jboss.managed.api.ManagedComponent mc,
                                                                              java.lang.String operation,
                                                                              org.jboss.metatype.api.values.MetaValue... args)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getManagedProperty

public static org.jboss.metatype.api.values.MetaValue getManagedProperty(org.jboss.managed.api.ManagedComponent mc,
                                                                         java.lang.String property,
                                                                         org.jboss.metatype.api.values.MetaValue... args)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

getLongRunningQueries

protected org.jboss.metatype.api.values.MetaValue getLongRunningQueries()

getTransactionCollectionValue

public static <T> void getTransactionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue,
                                                     java.util.Collection<Transaction> list)

getSessionCollectionValue

public static <T> void getSessionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue,
                                                 java.util.Collection<Session> list)

getSessionCollectionValueForVDB

public static <T> void getSessionCollectionValueForVDB(org.jboss.metatype.api.values.MetaValue pValue,
                                                       java.util.Collection<Session> list,
                                                       java.lang.String vdbName)


Copyright © 2010. All Rights Reserved.