org.modeshape.rhq.plugin.util
Class ModeShapeManagementView

java.lang.Object
  extended by org.modeshape.rhq.plugin.util.ModeShapeManagementView
All Implemented Interfaces:
PluginConstants

public class ModeShapeManagementView
extends Object
implements PluginConstants


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.modeshape.rhq.plugin.util.PluginConstants
PluginConstants.ComponentType
 
Field Summary
 
Fields inherited from interface org.modeshape.rhq.plugin.util.PluginConstants
DEFAULT_LOGGER_CATEGORY
 
Constructor Summary
ModeShapeManagementView()
           
 
Method Summary
static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.jboss.managed.api.ManagedComponent mc, String operation, ExecutedResult operationResult, org.jboss.metatype.api.values.MetaValue... args)
           
static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.jboss.managed.api.ManagedComponent mc, String operation, org.jboss.metatype.api.values.MetaValue... args)
           
 void executeOperation(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, ExecutedResult operationResult, Map<String,Object> valueMap)
           
static String getConnectorPingString(org.jboss.metatype.api.values.MetaValue pValue)
           
 Object getMetric(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, String componentType, String identifier, String metric, Map<String,Object> valueMap)
           
static Collection<ManagedRepository> getRepositoryCollectionValue(org.jboss.metatype.api.values.MetaValue pValue)
           
static Collection<ManagedSequencerConfig> getSequencerCollectionValue(org.jboss.metatype.api.values.MetaValue pValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModeShapeManagementView

public ModeShapeManagementView()
Method Detail

getMetric

public Object getMetric(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                        String componentType,
                        String identifier,
                        String metric,
                        Map<String,Object> valueMap)
                 throws Exception
Throws:
Exception

executeOperation

public void executeOperation(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                             ExecutedResult operationResult,
                             Map<String,Object> valueMap)

executeManagedOperation

public static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.jboss.managed.api.ManagedComponent mc,
                                                                              String operation,
                                                                              @Nullable
                                                                              org.jboss.metatype.api.values.MetaValue... args)
                                                                       throws Exception
Parameters:
mc -
operation -
args -
Returns:
MetaValue
Throws:
Exception

executeManagedOperation

public static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.jboss.managed.api.ManagedComponent mc,
                                                                              String operation,
                                                                              ExecutedResult operationResult,
                                                                              @Nullable
                                                                              org.jboss.metatype.api.values.MetaValue... args)
                                                                       throws Exception
Parameters:
mc -
operation -
args -
operationResult -
Returns:
MetaValue
Throws:
Exception

getRepositoryCollectionValue

public static Collection<ManagedRepository> getRepositoryCollectionValue(org.jboss.metatype.api.values.MetaValue pValue)

getConnectorPingString

public static String getConnectorPingString(org.jboss.metatype.api.values.MetaValue pValue)
                                     throws Exception
Throws:
Exception

getSequencerCollectionValue

public static Collection<ManagedSequencerConfig> getSequencerCollectionValue(org.jboss.metatype.api.values.MetaValue pValue)


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.