1 28 29 package com.caucho.jca.cfg; 30 31 import com.caucho.config.ConfigException; 32 import com.caucho.log.Log; 33 import com.caucho.util.L10N; 34 35 import java.util.logging.Logger ; 36 37 40 public class OutboundResourceAdapterConfig { 41 private static final L10N L = new L10N(OutboundResourceAdapterConfig.class); 42 private static final Logger log = Log.open(OutboundResourceAdapterConfig.class); 43 44 private ResourceAdapterConfig _resourceAdapter; 45 private String _trans; 46 47 OutboundResourceAdapterConfig(ResourceAdapterConfig ra) 48 { 49 _resourceAdapter = ra; 50 } 51 52 55 public void addConnectionDefinition(ConnectionDefinition conn) 56 throws ConfigException 57 { 58 _resourceAdapter.addConnectionDefinition(conn); 59 } 60 61 64 public void setTransactionSupport(String trans) 65 { 66 _trans = trans; 67 } 68 69 72 public String getTransactionSupport() 73 { 74 return _trans; 75 } 76 77 80 public void setReauthenticationSupport(String reauth) 81 { 82 } 83 84 87 public AuthenticationMechanism createAuthenticationMechanism() 88 { 89 return new AuthenticationMechanism(); 90 } 91 92 95 public SecurityPermission createSecurityPermission() 96 { 97 return new SecurityPermission(); 98 } 99 } 100 | Popular Tags |