1 22 package org.jboss.test.proxyfactory.support; 23 24 import java.io.PrintWriter ; 25 import java.util.Set ; 26 27 import javax.resource.ResourceException ; 28 import javax.resource.spi.ConnectionManager ; 29 import javax.resource.spi.ConnectionRequestInfo ; 30 import javax.resource.spi.ManagedConnection ; 31 import javax.resource.spi.ManagedConnectionFactory ; 32 import javax.security.auth.Subject ; 33 34 40 public class TestManagedConnectionFactory implements ManagedConnectionFactory 41 { 42 43 private static final long serialVersionUID = -7340980450728732028L; 44 45 public Object createConnectionFactory() throws ResourceException 46 { 47 throw new org.jboss.util.NotImplementedException("createConnectionFactory"); 48 } 49 50 public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException 51 { 52 return cxManager; 53 } 54 55 public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException 56 { 57 throw new org.jboss.util.NotImplementedException("createManagedConnection"); 58 } 59 60 public PrintWriter getLogWriter() throws ResourceException 61 { 62 throw new org.jboss.util.NotImplementedException("getLogWriter"); 63 } 64 65 public ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException 66 { 67 throw new org.jboss.util.NotImplementedException("matchManagedConnections"); 68 } 69 70 public void setLogWriter(PrintWriter out) throws ResourceException 71 { 72 throw new org.jboss.util.NotImplementedException("setLogWriter"); 73 } 74 75 } 76 | Popular Tags |