org.rhq.plugins.jbossts
Class TransactionComponent
java.lang.Object
org.rhq.plugins.jbossts.BaseComponent
org.rhq.plugins.jbossts.TransactionComponent
- All Implemented Interfaces:
- org.rhq.core.pluginapi.availability.AvailabilityFacet, org.rhq.core.pluginapi.inventory.DeleteResourceFacet, org.rhq.core.pluginapi.inventory.ResourceComponent, org.rhq.core.pluginapi.measurement.MeasurementFacet, org.rhq.core.pluginapi.operation.OperationFacet
public class TransactionComponent
- extends BaseComponent
- implements org.rhq.core.pluginapi.inventory.DeleteResourceFacet
RHQ representation of a single transaction
Method Summary |
void |
deleteResource()
|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability()
|
protected org.mc4j.ems.connection.EmsConnection |
getEmsConnection()
|
java.util.Collection<org.mc4j.ems.connection.bean.EmsBean> |
getParticipants()
Transaction participants are represented by MBeans whose ObjectName is prefixed
by the MBean name of the transaction. |
org.rhq.core.pluginapi.operation.OperationResult |
invokeOperation(java.lang.String name,
org.rhq.core.domain.configuration.Configuration params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionComponent
public TransactionComponent()
getEmsConnection
protected org.mc4j.ems.connection.EmsConnection getEmsConnection()
- Specified by:
getEmsConnection
in class BaseComponent
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability
in interface org.rhq.core.pluginapi.availability.AvailabilityFacet
- Overrides:
getAvailability
in class BaseComponent
deleteResource
public void deleteResource()
throws java.lang.Exception
- Specified by:
deleteResource
in interface org.rhq.core.pluginapi.inventory.DeleteResourceFacet
- Throws:
java.lang.Exception
invokeOperation
public org.rhq.core.pluginapi.operation.OperationResult invokeOperation(java.lang.String name,
org.rhq.core.domain.configuration.Configuration params)
- Specified by:
invokeOperation
in interface org.rhq.core.pluginapi.operation.OperationFacet
- Overrides:
invokeOperation
in class BaseComponent
getParticipants
public java.util.Collection<org.mc4j.ems.connection.bean.EmsBean> getParticipants()
- Transaction participants are represented by MBeans whose ObjectName is prefixed
by the MBean name of the transaction. Using this fact this method performs
an MBean query to select participants of this transaction only
- Returns:
- Ems Beans representing this transactions participants
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.