Searched refs:temp (Results 1 - 25 of 52) sorted by relevance

123

/glassfish-3.1.2/common/common-util/src/test/java/org/glassfish/admin/payload/
H A DPayloadImplTest.java361 * Create a directory anchored at a temp directory that looks like this:
390 File temp = File.createTempFile(prefix, suffix);
391 if ( ! temp.delete()) {
392 throw new IOException("Cannot delete temp file " + temp.getAbsolutePath());
394 if ( ! temp.mkdirs()) {
395 throw new IOException("Cannot create temp directory" + temp.getAbsolutePath());
397 return temp;
403 throw new IOException("Cannot create temp subdi
[all...]
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/
H A DSerialInitContextFactory.java230 Habitat temp = defaultHabitat ;
231 if (temp == null) {
232 temp = Globals.getDefaultHabitat() ;
234 if (temp == null) {
236 temp = Globals.getStaticHabitat() ;
238 habitat = temp ;
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/
H A DPendingConfigBeans.java237 Dom temp = candidate.parent();
238 while (temp != null)
240 if (temp == parent)
245 temp = temp.parent();
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DASMainHelper.java102 String temp = System.getProperty(Constants.PLATFORM_PROPERTY_KEY);
103 if (temp == null || temp.trim().length() <= 0) {
105 temp = System.getenv(Constants.PLATFORM_PROPERTY_KEY);
108 if (temp != null && temp.trim().length() != 0) {
109 platform = temp.trim();
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/base/container/util/
H A DCacheProperties.java177 int temp = 0;
178 if ((temp = beanCacheDes.getResizeQuantity()) != -1) {
179 this.numberOfVictimsToSelect = temp;
181 if ((temp = beanCacheDes.getMaxCacheSize()) != -1) {
182 this.maxCacheSize = temp;
184 if ((temp = beanCacheDes.getCacheIdleTimeoutInSeconds()) != -1) {
185 this.cacheIdleTimeoutInSeconds = temp;
187 if ((temp = beanCacheDes.getRemovalTimeoutInSeconds()) != -1) {
188 this.removalTimeoutInSeconds = temp;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/base/sfsb/util/
H A DScrambledKeyGenerator.java108 byte temp = a[index1];
110 b[index2] = temp;
H A DSimpleKeyGenerator.java164 byte temp = a[index1];
166 b[index2] = temp;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DStatelessSessionContainer.java804 int temp = 0;
805 if (( temp = beanPoolDes.getMaxPoolSize()) != -1) {
806 maxPoolSize = temp;
808 if (( temp = beanPoolDes.getPoolIdleTimeoutInSeconds()) != -1) {
809 poolIdleTimeoutInSeconds = temp;
812 if (( temp = beanPoolDes.getPoolResizeQuantity()) != -1) {
813 poolResizeQuantity = temp;
815 if (( temp = beanPoolDes.getSteadyPoolSize()) != -1) {
816 steadyPoolSize = temp;
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DNotificationEmitterServiceTest.java144 final Notification temp = builder.buildNew(TEST_MESSAGE);
146 nes.emitNotification(temp);
H A DUploadDownloadMgrTest.java117 final File temp = File.createTempFile("UploadDownloadMgrTest", "junk");
119 temp.deleteOnExit();
121 final FileOutputStream os = new FileOutputStream(temp);
138 temp.delete();
142 assert (temp.length() == totalSize);
146 return (temp);
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/core/
H A DMsgContext.java390 X509Certificate [] temp = new X509Certificate[jsseCerts.length+1];
391 System.arraycopy(jsseCerts,0,temp,0,jsseCerts.length);
392 temp[jsseCerts.length] = cert;
393 jsseCerts = temp;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/
H A DJAASRealm.java220 String temp = this.roleClassNames;
221 if (temp == null) {
225 int comma = temp.indexOf(',');
229 roleClasses.add(temp.substring(0, comma).trim());
230 temp = temp.substring(comma + 1);
232 temp = temp.trim();
233 if (temp.length() > 0) {
234 roleClasses.add(temp);
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DDOMWriter.java317 Attr temp = array[i];
319 array[index] = temp;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/valves/
H A DAccessLogValve.java968 StringBuilder temp = new StringBuilder("[");
969 temp.append(dayFormatter.get().format(date)); // Day
970 temp.append('/');
971 temp.append(lookup(monthFormatter.get().format(date))); // Month
972 temp.append('/');
973 temp.append(yearFormatter.get().format(date)); // Year
974 temp.append(':');
975 temp.append(timeFormatter.get().format(date)); // Time
976 temp.append(' ');
977 temp
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DExceptionUtil.java176 final Throwable temp = t.getCause();
177 if (temp == null)
181 t = temp;
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/stringifier/
H A DMBeanInfoStringifier.java68 String temp = "";
72 temp = "\n" + ArrayStringifier.stringify(a, "\n", stringifier);
74 return (temp);
H A DModelMBeanInfoStringifier.java62 String temp = "";
66 temp = "\n" + ArrayStringifier.stringify(a, "\n", stringifier);
68 return (temp);
H A DTabularDataStringifier.java71 for( final Object temp : data.values() )
73 final CompositeData item = (CompositeData)temp;
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DToolsImpl.java159 String temp = searchStringIn;
161 final boolean hasProps = temp.indexOf("=") > 0;
162 final boolean hasDomain = temp.indexOf(":") >= 0;
163 final boolean isPattern = temp.endsWith(WILD_SUFFIX);
167 pattern = newObjectName("*:type=" + temp + WILD_SUFFIX);
171 pattern = newObjectName("*:j2eeType=" + temp + WILD_SUFFIX);
176 pattern = newObjectName("*:name=" + temp + WILD_SUFFIX);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DExceptionUtil.java82 final Throwable temp = t.getCause();
83 if (temp == null)
87 t = temp;
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/util/
H A DExceptionUtil.java71 Throwable temp = t.getCause();
72 if (temp == null) {
75 t = temp;
H A DFileIOUtils.java151 String temp = (String) contentBuffer.get(loopVar);
152 LOGGER.log(Level.FINEST, temp);
153 filePointer.write(temp);
170 String temp = (String) contentBuffer.get(loopVar);
171 LOGGER.log(Level.FINEST, temp);
172 filePointer.write(temp);
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DSecurityUtils.java101 PasswordCredential temp = (PasswordCredential) iter.next();
102 if (temp.getManagedConnectionFactory().equals(mcf)) {
103 return temp;
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/
H A DMain.java700 File temp = File.createTempFile ("enhancer", ".class");
701 out = new BufferedOutputStream (new FileOutputStream (temp));
707 createOutputFile (enhanced, createClassFileName (wrapper.getClassName ()), temp);
735 File temp = File.createTempFile ("enhancer", ".zip");
737 out = new ZipOutputStream (new BufferedOutputStream (new FileOutputStream (temp)));
745 createOutputFile (enhanced, new File (filename).getName (), temp);
886 * @param temp The temp file, the output is written to.
893 File temp)
900 temp
891 createOutputFile(boolean enhanced, String filename, File temp) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/nonce/
H A DNonceCache.java93 Hashtable temp = nonceCache;
95 oldNonceCache = temp;

Completed in 97 milliseconds

123