Class PoolOperations

java.lang.Object
org.jboss.as.connector.subsystems.common.pool.PoolOperations
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
Direct Known Subclasses:
PoolOperations.DumpQueuedThreadInPool, PoolOperations.FlushAllConnectionInPool, PoolOperations.FlushGracefullyConnectionInPool, PoolOperations.FlushIdleConnectionInPool, PoolOperations.FlushInvalidConnectionInPool, PoolOperations.TestConnectionInPool

public abstract class PoolOperations extends Object implements org.jboss.as.controller.OperationStepHandler
  • Constructor Details

    • PoolOperations

      protected PoolOperations(org.jboss.as.connector.subsystems.common.pool.PoolOperations.PoolMatcher matcher, boolean disallowMonitor)
  • Method Details

    • execute

      public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      execute in interface org.jboss.as.controller.OperationStepHandler
      Throws:
      org.jboss.as.controller.OperationFailedException
    • invokeCommandOn

      protected abstract org.jboss.dmr.ModelNode invokeCommandOn(org.jboss.jca.core.api.connectionmanager.pool.Pool pool, Object... parameters) throws Exception
      Throws:
      Exception
    • getParameters

      protected abstract Object[] getParameters(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)