Searched defs:ds (Results 1 - 25 of 26) sorted by relevance

12

/glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/test/
H A DSimpleTest.java57 Map<String,Boolean> runTest(DataSource ds, PrintWriter out); argument
/glassfish-3.1.2/tests/community/web/jsfinjection/src/java/
H A DTestBean.java51 private DataSource ds; field in class:TestBean
59 if (ds != null) {
61 tout = ds.getLoginTimeout();
H A DFilterTest.java52 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 DSimpleTest.java57 Map<String,Boolean> runTest(DataSource ds, PrintWriter out); argument
/glassfish-3.1.2/tests/quicklook/web/jsfinjection/src/java/
H A DTestBean.java51 private DataSource ds; field in class:TestBean
59 if (ds != null) {
61 tout = ds.getLoginTimeout();
H A DFilterTest.java52 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 DHelloEJB.java58 @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 DClient.java62 @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 DHelloEJB.java58 @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 DHelloEJB.java58 @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 DClient.java62 @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 DHelloEJB.java58 @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 DClient.java62 @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 DActivator.java63 private DataSource ds; field in class:Activator
72 ds = (DataSource) ctx.lookup(dsName);
73 c = ds.getConnection();
104 c = ds.getConnection();
H A DUserAuthServiceEJB.java58 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 DAssocWithThreadPoolResizer.java64 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 DResizer.java74 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 DClient.java62 @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 DAutoDeploymentOperation.java148 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 DAutoOperation.java119 * @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 DAutoUndeploymentOperation.java150 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 DAutoDeployer.java325 * @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 DProgressObjectSink.java378 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 DLogDBHelper.java70 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 DConnectionPool.java126 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...]

Completed in 188 milliseconds

12