1 23 24 package com.sun.gjc.spi; 25 26 import javax.resource.spi.endpoint.MessageEndpointFactory ; 27 import javax.resource.spi.ActivationSpec ; 28 import javax.resource.NotSupportedException ; 29 import javax.transaction.xa.XAResource ; 30 import javax.resource.spi.BootstrapContext ; 31 32 38 public class ResourceAdapter implements javax.resource.spi.ResourceAdapter { 39 40 48 public void endpointActivation(MessageEndpointFactory mef, ActivationSpec as) throws NotSupportedException { 49 throw new NotSupportedException ("This method is not supported for this JDBC connector"); 50 } 51 52 58 public void endpointDeactivation(MessageEndpointFactory mef, ActivationSpec as) { 59 60 } 61 62 69 public XAResource [] getXAResources(ActivationSpec [] specs) throws NotSupportedException { 70 throw new NotSupportedException ("This method is not supported for this JDBC connector"); 71 } 72 73 78 public void start(BootstrapContext ctx) { 79 80 } 81 82 85 public void stop() { 86 87 } 88 89 } 90 | Popular Tags |