org.jboss.jca.core.recovery
Class ValidatingManagedConnectionFactoryRecoveryPlugin

java.lang.Object
  extended by org.jboss.jca.core.recovery.ValidatingManagedConnectionFactoryRecoveryPlugin
All Implemented Interfaces:
org.jboss.jca.core.spi.recovery.RecoveryPlugin

public class ValidatingManagedConnectionFactoryRecoveryPlugin
extends Object
implements org.jboss.jca.core.spi.recovery.RecoveryPlugin

Marker recovery plugin to let the recovery subsystem know that the ValidatingManagedConnectionFactory interface should be used for verifying the managed connection

Author:
Jesper Pedersen

Constructor Summary
ValidatingManagedConnectionFactoryRecoveryPlugin()
          Constructor
 
Method Summary
 void close(Object c)
          
 boolean isValid(Object c)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatingManagedConnectionFactoryRecoveryPlugin

public ValidatingManagedConnectionFactoryRecoveryPlugin()
Constructor

Method Detail

isValid

public boolean isValid(Object c)
                throws javax.resource.ResourceException

Specified by:
isValid in interface org.jboss.jca.core.spi.recovery.RecoveryPlugin
Throws:
javax.resource.ResourceException

close

public void close(Object c)
           throws javax.resource.ResourceException

Specified by:
close in interface org.jboss.jca.core.spi.recovery.RecoveryPlugin
Throws:
javax.resource.ResourceException


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)