1 8 9 package com.sleepycat.je.jca.ra; 10 11 import javax.resource.ResourceException ; 12 import javax.resource.spi.ManagedConnectionMetaData ; 13 14 public class JEConnectionMetaData 15 implements ManagedConnectionMetaData { 16 17 public JEConnectionMetaData() { 18 } 19 20 public String getEISProductName() 21 throws ResourceException { 22 23 return "Berkeley DB Java Edition JCA"; 24 } 25 26 public String getEISProductVersion() 27 throws ResourceException { 28 29 return "2.0"; 30 } 31 32 public int getMaxConnections() 33 throws ResourceException { 34 35 36 return 100; 37 } 38 39 public String getUserName() 40 throws ResourceException { 41 42 return null; 43 } 44 } 45 | Popular Tags |