1 22 package org.jboss.test.jca.fs; 23 24 import javax.resource.spi.ManagedConnectionMetaData ; 25 import javax.resource.ResourceException ; 26 27 31 public class FSManagedConnectionMetaData implements ManagedConnectionMetaData 32 { 33 34 public FSManagedConnectionMetaData() 35 { 36 } 37 38 public String getEISProductName() throws ResourceException 39 { 40 return "Local File System Adaptor"; 41 } 42 43 public String getEISProductVersion() throws ResourceException 44 { 45 return "JBoss 4.0.x JCA"; 46 } 47 48 public int getMaxConnections() throws ResourceException 49 { 50 return 100; 51 } 52 53 public String getUserName() throws ResourceException 54 { 55 return "nobody"; 56 } 57 58 } 59 | Popular Tags |