| /glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/test/ |
| H A D | SimpleTest.java | 57 Map<String,Boolean> runTest(DataSource ds, PrintWriter out); argument
|
| /glassfish-3.1.2/tests/community/web/jsfinjection/src/java/ |
| H A D | TestBean.java | 51 private DataSource ds; field in class:TestBean 59 if (ds != null) { 61 tout = ds.getLoginTimeout();
|
| H A D | FilterTest.java | 52 private @Resource(name="jdbc/__default") DataSource ds; field in class:FilterTest 53 // private DataSource ds; 72 if (ds != null) { 74 msg = "PASS-:" + ds.getLoginTimeout(); 79 msg = "FAIL-: ds is null";
|
| /glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/java/test/ |
| H A D | SimpleTest.java | 57 Map<String,Boolean> runTest(DataSource ds, PrintWriter out); argument
|
| /glassfish-3.1.2/tests/quicklook/web/jsfinjection/src/java/ |
| H A D | TestBean.java | 51 private DataSource ds; field in class:TestBean 59 if (ds != null) { 61 tout = ds.getLoginTimeout();
|
| H A D | FilterTest.java | 52 private @Resource(name="jdbc/__default") DataSource ds; field in class:FilterTest 53 // private DataSource ds; 72 if (ds != null) { 74 msg = "PASS-:" + ds.getLoginTimeout(); 79 msg = "FAIL-: ds is null";
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit/endpoint/ejb/ |
| H A D | HelloEJB.java | 58 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:HelloEJB 66 con = ds.getConnection();
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit/webclient/client/ |
| H A D | Client.java | 62 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:Client 77 Connection con = ds.getConnection();
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit1/endpoint/ejb/ |
| H A D | HelloEJB.java | 58 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:HelloEJB 69 con = ds.getConnection();
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback/endpoint/ejb/ |
| H A D | HelloEJB.java | 58 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:HelloEJB 66 con = ds.getConnection();
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback/webclient/client/ |
| H A D | Client.java | 62 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:Client 76 con = ds.getConnection();
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback1/endpoint/ejb/ |
| H A D | HelloEJB.java | 58 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:HelloEJB 69 con = ds.getConnection();
|
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbrollback1/webclient/client/ |
| H A D | Client.java | 62 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:Client 78 con = ds.getConnection();
|
| /glassfish-3.1.2/tests/osgi-javaee/osgi-web/hybridapp1/src/main/java/sahoo/hybridapp/example1/impl/ |
| H A D | Activator.java | 63 private DataSource ds; field in class:Activator 72 ds = (DataSource) ctx.lookup(dsName); 73 c = ds.getConnection(); 104 c = ds.getConnection();
|
| H A D | UserAuthServiceEJB.java | 58 private DataSource ds; field in class:UserAuthServiceEJB 72 c = ds.getConnection(); 110 c = ds.getConnection();
|
| /glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/resizer/ |
| H A D | AssocWithThreadPoolResizer.java | 64 public AssocWithThreadPoolResizer(PoolInfo poolInfo, DataStructure ds, argument 67 super(poolInfo, ds, pp, handler, preferValidateOverRecreate); 81 (ds.getResourcesSize() - pool.getSteadyPoolSize())) ? scaleDownQuantity : 0; 86 for (ResourceHandle h : ds.getAllResources()) { 99 if (ds.getAllResources().contains(resourceToRemove)) { 100 ds.removeResource(resourceToRemove); 116 int poolSizeBeforeRemoval = ds.getResourcesSize(); 128 for (ResourceHandle h : ds.getAllResources()) { 163 if (ds.getAllResources().contains(resourceToRemove)) { 164 ds [all...] |
| H A D | Resizer.java | 74 protected DataStructure ds; field in class:Resizer 81 public Resizer(PoolInfo poolInfo, DataStructure ds, PoolProperties pp, ResourceHandler handler, argument 84 this.ds = ds; 122 debug("No. of resources held for pool [ " + poolInfo + " ] : " + ds.getResourcesSize()); 130 if (ds.getResourcesSize() < pool.getSteadyPoolSize()) { 132 for (int i = ds.getResourcesSize(); i < pool.getSteadyPoolSize(); i++) { 153 scaleDownQuantity = (scaleDownQuantity <= (ds.getResourcesSize() - pool.getSteadyPoolSize())) ? scaleDownQuantity : 0; 156 while (scaleDownQuantity > 0 && ((h = ds.getResource()) != null)) { 157 ds [all...] |
| /glassfish-3.1.2/tests/jbi/transactions/jse_only_ejbcommit1/webclient/client/ |
| H A D | Client.java | 62 @Resource(mappedName="jdbc/__default") private DataSource ds; field in class:Client 77 Connection con = ds.getConnection();
|
| /glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/ |
| H A D | AutoDeploymentOperation.java | 148 protected String getMessageString(AutodeploymentStatus ds, File file) { argument 150 ds.deploymentMessageKey, 151 ds.deploymentDefaultMessage, 158 protected void markFiles(AutodeploymentStatus ds, File file) { argument 171 if (ds != AutodeploymentStatus.SUCCESS && ds != AutodeploymentStatus.WARNING) { 184 if (ds.status) {
|
| H A D | AutoOperation.java | 119 * @param ds AutodeploymentStatus indicating the outcome of the operation 122 protected abstract void markFiles(AutodeploymentStatus ds, File file); argument 127 * @param ds AutodeploymentStatus value giving the outcome of the operation 131 protected abstract String getMessageString(AutodeploymentStatus ds, File file); argument 146 AutodeploymentStatus ds = AutodeploymentStatus.forExitCode(report.getActionExitCode()); 147 Level messageLevel = (ds.status ? Level.INFO : Level.WARNING); 148 sLogger.log(messageLevel, getMessageString(ds, file)); 149 markFiles(ds, file); 154 ds = retryManager.chooseAutodeploymentStatus(report.getActionExitCode(), file); 155 return ds; [all...] |
| H A D | AutoUndeploymentOperation.java | 150 protected String getMessageString(AutodeploymentStatus ds, File file) { argument 152 ds.undeploymentMessageKey, 153 ds.undeploymentDefaultMessage, 160 protected void markFiles(AutodeploymentStatus ds, File file) { argument 186 if (ds.status) {
|
| H A D | AutoDeployer.java | 325 * @param ds the new directory scanner to use 327 public void setDirectoryScanner(DirectoryScanner ds) { argument 328 directoryScanner=ds; 725 for (AutodeploymentStatus ds : AutodeploymentStatus.values()) { 726 if (ds.exitCode == exitCode) { 727 return ds;
|
| /glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployapi/ |
| H A D | ProgressObjectSink.java | 378 private void updateCompletedStatus(DeploymentStatus ds) { argument 386 if (ds instanceof DeploymentStatusImpl) { 387 DeploymentStatusImpl dsi = (DeploymentStatusImpl) ds; 400 reviseStatusAndMessage(ds, newStageStatus); 418 private void reviseStatusAndMessage(DeploymentStatus ds, DFDeploymentStatus newStageStatus) { argument 422 if (ds.isCompleted()) { 436 String i18msg = localStrings.getLocalString(msgKey, ds.getMessage());
|
| /glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
| H A D | LogDBHelper.java | 70 private DataSource ds = null; field in class:LogDBHelper 101 ds = (DataSource)ctx.lookup(resName); 102 Class cls = ds.getClass(); 113 _logger.fine("LogDBHelper.ds: " + ds); 149 if (ds != null) { 159 conn = (Connection)(getNonTxConnectionMethod.invoke(ds, null)); 161 conn = ds.getConnection(); 195 if (ds != null) { 203 conn = (Connection)(getNonTxConnectionMethod.invoke(ds, nul [all...] |
| /glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/ |
| H A D | ConnectionPool.java | 126 protected DataStructure ds; field in class:ConnectionPool 166 ds = DataStructureFactory.getDataStructure(dataStructureType, dataStructureParameters, 230 createResources(this.allocator, steadyPoolSize - ds.getResourcesSize()); 272 return new Resizer(poolInfo, ds, this, this, preferValidateOverRecreate); 282 int numResCreated = ds.addResource(alloc, 1); 716 while ((h = ds.getResource()) != null) { 719 ds.removeResource(h); 732 ds.removeResource(h); 751 ds.returnResource(freeResource); 778 if (ds [all...] |