1 23 24 package com.sun.enterprise.connectors; 25 26 import 27 com.sun.enterprise.config.serverbeans.ConnectorConnectionPool; 28 import com.sun.enterprise.config.*; 29 import com.sun.enterprise.config.serverbeans.*; 30 31 public class DeferredResourceConfig { 32 33 34 private String rarName; 35 private AdminObjectResource adminObject; 36 private ConnectorConnectionPool connectionPool; 37 private ConnectorResource connectorResource; 38 private JdbcConnectionPool jdbcConnectionPool; 39 private JdbcResource jdbcResource; 40 private ResourceAdapterConfig[] resourceAdapterConfig; 41 private ConfigBean[] resourcesToLoad; 42 43 44 public DeferredResourceConfig() { 45 46 } 47 48 public DeferredResourceConfig( 49 String rarName, 50 AdminObjectResource adminObject, 51 ConnectorConnectionPool connectionPool, 52 ConnectorResource connectorResource, 53 JdbcConnectionPool jdbcConnectionPool, 54 JdbcResource jdbcResource, 55 ResourceAdapterConfig[] resAdapterConfig) 56 { 57 58 this.rarName = rarName; 59 this.adminObject = adminObject; 60 this.connectionPool = connectionPool; 61 this.connectorResource = connectorResource; 62 this.jdbcConnectionPool = jdbcConnectionPool; 63 this.jdbcResource = jdbcResource; 64 this.resourceAdapterConfig = resAdapterConfig; 65 66 } 67 68 public void setRarName(String rarName) { 69 this.rarName = rarName; 70 } 71 72 public String getRarName() { 73 return this.rarName; 74 } 75 76 public void setAdminObject(AdminObjectResource adminObject) { 77 this.adminObject = adminObject; 78 } 79 80 public AdminObjectResource getAdminObject() { 81 return this.adminObject; 82 } 83 public void setConnectorConnectionPool( 84 ConnectorConnectionPool connectionPool) 85 { 86 this.connectionPool = connectionPool; 87 } 88 89 public ConnectorConnectionPool getConnectorConnectionPool() { 90 return this.connectionPool; 91 } 92 93 public void setConnectorResource( ConnectorResource connectorResource) { 94 this.connectorResource = connectorResource; 95 } 96 97 public ConnectorResource getConnectorResource() { 98 return this.connectorResource; 99 } 100 public void setJdbcConnectionPool( JdbcConnectionPool jdbcConnectionPool) { 101 this.jdbcConnectionPool = jdbcConnectionPool; 102 } 103 104 public JdbcConnectionPool getJdbcConnectionPool() { 105 return this.jdbcConnectionPool; 106 } 107 public void setJdbcResource( JdbcResource jdbcResource) { 108 this.jdbcResource = jdbcResource; 109 } 110 111 public JdbcResource getJdbcResource() { 112 return this.jdbcResource; 113 } 114 public void setResourceAdapterConfig( 115 ResourceAdapterConfig[] resourceAdapterConfig) 116 { 117 this.resourceAdapterConfig = resourceAdapterConfig; 118 } 119 120 public ResourceAdapterConfig[] getResourceAdapterConfig() { 121 return this.resourceAdapterConfig; 122 } 123 public void setResourcesToLoad( ConfigBean[] resourcesToLoad) 124 { 125 this.resourcesToLoad = resourcesToLoad; 126 } 127 128 public ConfigBean[] getResourcesToLoad() { 129 return this.resourcesToLoad; 130 } 131 } 132 | Popular Tags |