1 22 package org.jboss.test.jca.adminobject; 23 24 import javax.resource.ResourceException ; 25 import javax.resource.spi.ActivationSpec ; 26 import javax.resource.spi.BootstrapContext ; 27 import javax.resource.spi.ResourceAdapter ; 28 import javax.resource.spi.ResourceAdapterInternalException ; 29 import javax.resource.spi.endpoint.MessageEndpointFactory ; 30 import javax.transaction.xa.XAResource ; 31 32 import org.jboss.logging.Logger; 33 34 40 public class TestResourceAdapter implements ResourceAdapter 41 { 42 private static final Logger log = Logger.getLogger(TestResourceAdapter.class); 43 44 public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException 45 { 46 } 47 48 public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) 49 { 50 } 51 52 public XAResource [] getXAResources(ActivationSpec [] specs) throws ResourceException 53 { 54 return null; 55 } 56 57 public void start(BootstrapContext ctx) throws ResourceAdapterInternalException 58 { 59 } 60 61 public void stop() 62 { 63 } 64 } 65 | Popular Tags |