1 27 package org.objectweb.jonas_rar.deployment.api; 28 29 import java.io.Serializable ; 30 import java.util.List ; 31 32 import org.objectweb.jonas_rar.deployment.xml.ConnectionDefinition; 33 34 39 40 public class ConnectionDefinitionDesc implements Serializable { 41 42 45 private String id = null; 46 47 50 private String managedconnectionfactoryClass = null; 51 52 55 private List configPropertyList = null; 56 57 60 private String connectionfactoryInterface = null; 61 62 65 private String connectionfactoryImplClass = null; 66 67 70 private String connectionInterface = null; 71 72 75 private String connectionImplClass = null; 76 77 78 81 public ConnectionDefinitionDesc(ConnectionDefinition cd) { 82 if (cd != null) { 83 id = cd.getId(); 84 managedconnectionfactoryClass = cd.getManagedconnectionfactoryClass(); 85 configPropertyList = Utility.configProperty(cd.getConfigPropertyList()); 86 connectionfactoryInterface = cd.getConnectionfactoryInterface(); 87 connectionfactoryImplClass = cd.getConnectionfactoryImplClass(); 88 connectionInterface = cd.getConnectionInterface(); 89 connectionImplClass = cd.getConnectionImplClass(); 90 } 91 } 92 93 97 public String getId() { 98 return id; 99 } 100 101 105 public String getManagedconnectionfactoryClass() { 106 return managedconnectionfactoryClass; 107 } 108 109 113 public List getConfigPropertyList() { 114 return configPropertyList; 115 } 116 117 121 public String getConnectionfactoryInterface() { 122 return connectionfactoryInterface; 123 } 124 125 129 public String getConnectionfactoryImplClass() { 130 return connectionfactoryImplClass; 131 } 132 133 137 public String getConnectionInterface() { 138 return connectionInterface; 139 } 140 141 145 public String getConnectionImplClass() { 146 return connectionImplClass; 147 } 148 149 } 150 | Popular Tags |