/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/ |
H A D | PropertyResolver.java | 95 private String getPropertyValue(String propName, List<SystemProperty> props) { argument 98 if (prop.getName().equals(propName)) { 115 public String getPropertyValue(String propName) { argument 116 if (propName.startsWith("${") && propName.endsWith("}")) { 117 propName = propName.substring(2, propName.lastIndexOf("}")); 120 //First look for a server instance property matching the propName 122 propVal = getPropertyValue(propName, _serve [all...] |
H A D | TranslatedConfigView.java | 147 * @param propName The property name to resolve. ex. ${ALIAS=aliasname}. 150 static public String getAlias(String propName) argument 156 propName = propName.trim(); 157 if (propName.startsWith(starter) && propName.endsWith(ender) ) { 158 propName = propName.substring(starter.length() ); 159 int lastIdx = propName.length() - 1; 161 propName [all...] |
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/ |
H A D | RelativePathResolver.java | 122 * system properties with ${propName} in the given path 168 private void appendChar (char c, StringBuffer propName, StringBuffer result) argument 170 if (propName == null) { 173 propName.append(c); 181 * @param propName The property name to resolve. ex. ${ALIAS=aliasname}. 184 static public String getAlias(String propName) argument 190 propName = propName.trim(); 191 if (propName.startsWith(starter) && propName 212 getPropertyValue(String propName, boolean bIncludingEnvironmentVariables) argument [all...] |
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/ |
H A D | DeleteSystemProperty.java | 95 String propName; field in class:DeleteSystemProperty 129 if(!spb.containsProperty(propName)) { 132 "System Property named {0} does not exist at the given target {1}", propName, target); 136 if (definitions(propName) == 1) { //implying user is deleting the "last" definition of this property 143 if (!s.containsProperty(propName) && !config.containsProperty(propName)) { 145 if (!cluster.containsProperty(propName)) { 161 if (!s.containsProperty(propName)) { 169 if (!c.containsProperty(propName)) { 181 if (!s.containsProperty(propName)) { 223 definitions(String propName) argument [all...] |
H A D | CreateSystemProperties.java | 135 final String propName = (String) key; 136 sysPropName = propName; 141 spb.getSystemProperty(sysPropName).getValue().equals(properties.getProperty(propName))) { 153 if (sysProperty.getName().equals(propName)) { 161 newSysProp.setName(propName); 162 newSysProp.setValue(properties.getProperty(propName));
|
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/factory/ |
H A D | BeanFactory.java | 193 String propName = ra.getType(); 195 if (propName.equals(Constants.FACTORY) || 196 propName.equals("scope") || propName.equals("auth")) { 207 if (pda[i].getName().equals(propName)) { 246 + propName); 257 ("No set method found for property: " + propName);
|
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/ |
H A D | Artifacts.java | 133 for (String propName : props.stringPropertyNames()) { 135 if (propName.startsWith(propNamePrefix)) { 140 final URI fullURI = URI.create(props.getProperty(propName)); 141 result.addArtifact(fullURI, propName.substring(propNamePrefix.length())); 204 private String propName(final URI partURI) { method in class:Artifacts 230 propName(artifactInfo.getPart()),
|
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/comm/ |
H A D | MessageExchangeTransportImpl.java | 125 String propName = (String) o; 126 props.put(propName, msg.getProperty(propName)); 140 for (String propName : propNames) { 141 msg.setProperty(propName, props.get(propName));
|
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/ |
H A D | JMSDestination.java | 559 String propName = null; 563 propName = (String) e.nextElement(); 564 if (propName.equals("AutoCreateQueueMaxNumActiveConsumers")) { 567 } else if (propName.equals("maxNumActiveConsumers")) { 570 } else if (propName.equals("MaxNumActiveConsumers")) { 573 } else if (propName.equals("AutoCreateQueueMaxNumBackupConsumers")) { 576 } else if (propName.equals("AutoCreateQueues")) { 585 } else if (propName.equals("AutoCreateTopics")) { 594 } else if (propName.equals("DMQTruncateBody")) { 603 } else if (propName [all...] |
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/ |
H A D | TranslatedViewCreationTest.java | 70 final static String propName = "com.sun.my.chosen.docroot"; field in class:TranslatedViewCreationTest 82 System.setProperty(propName, "/foo/bar/docroot"); 113 newVirtualServer.setDocroot("${"+propName+"}"); 140 assertTrue(rawView.getDocroot().equalsIgnoreCase("${" + propName + "}")); 154 System.setProperty(propName, "");
|
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/common/util/admin/ |
H A D | AsadminInput.java | 169 for (String propName : entireContent.stringPropertyNames()) { 170 final int firstDot = propName.indexOf('.'); 174 final String categoryName = propName.substring(0, firstDot); 175 final String propWithinCategory = propName.substring(firstDot + 1); 183 category.setProperty(propWithinCategory, entireContent.getProperty(propName));
|
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/ |
H A D | AutoDeployService.java | 286 String propName = event.getPropertyName(); 287 if (configPropertyNames.contains(propName) && event.getOldValue().equals(event.getNewValue())) { 288 logger.fine("[AutoDeploy] Ignoring reconfig of " + propName + 297 if (propName.equals("autodeploy-enabled")) { 304 } else if (propName.equals("autodeploy-polling-interval-in-seconds")) { 313 propName, 319 } else if (propName.equals("autodeploy-dir")) { 329 propName, 335 } else if (propName.equals("autodeploy-verifier-enabled")) { 341 } else if (propName [all...] |
/glassfish-3.1.2/admin/monitor/src/main/java/org/glassfish/admin/monitor/ |
H A D | MonitoringBootstrap.java | 504 String propName = event.getPropertyName(); 511 if(!ok(propName)) 519 new Object[]{propName, newEnabled, oldEnabled}); 521 handleLevelChange(propName, newEnabled); 531 new Object[]{propName, newEnabled, oldEnabled}); 544 new Object[]{propName, newEnabled, oldEnabled}); 547 handleServiceChange(spr, propName, newEnabled); 555 private void handleLevelChange(String propName, String enabledStr) { argument 558 if(!ok(propName)) 567 "enableStatsMonitoring", new Object[] {propName, enabledSt 583 handleServiceChange(StatsProviderRegistry spr, String propName, boolean enabled) argument [all...] |
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ |
H A D | CopyConfig.java | 97 final String propName = (String) key; 101 if (propName.equals(sysprop.getName())) { 108 newSysProp.setName(propName); 109 newSysProp.setValue(properties.getProperty(propName));
|
/glassfish-3.1.2/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/ |
H A D | SunCmpMappingsUtils.java | 152 String argTwo, String propName, Class type) { 157 List l = findCompatibleBeansWithValue(argOne, propName, argTwo, 175 * @param propName The name of the element 180 protected static List findCompatibleBeansWithValue(BaseBean root, String propName, String propVal, Class type) throws IllegalArgumentException { argument 186 String[] props = root.findPropertyValue(propName, propVal); 151 findSingleCompatibleBean(String argOneName, BaseBean argOne, String argTwoName, String argTwo, String propName, Class type) argument
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/ |
H A D | VersionConsistencyCacheImpl.java | 269 * @param propName Name of property for value 273 private static int getIntValue(String propName, int defaultVal) { argument 275 String valString = System.getProperty(propName); 280 logBadConfigValue(propName, valString); 290 * @param propName Name of property for value 294 private static float getFloatValue(String propName, float defaultVal) { argument 296 String valString = System.getProperty(propName); 301 logBadConfigValue(propName, valString); 311 * @param propName Name of property for value 315 private static long getLongValue(String propName, lon argument 333 logBadConfigValue(String propName, String valString) argument [all...] |
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/org/glassfish/resources/custom/factory/ |
H A D | PrimitivesAndStringFactory.java | 64 String propName = addr.getType(); 68 if(propName.equalsIgnoreCase("value")){
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/ |
H A D | PersistenceUnitNode.java | 86 String propName = attributes.getValue( 90 persistenceUnitDescriptor.addProperty(propName, propValue);
|
/glassfish-3.1.2/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/ |
H A D | WarHandler.java | 406 String propName = null; 411 propName = parser.getAttributeValue(i); 417 if (propName == null || value == null) { 422 if ("ignoreHiddenJarFiles".equals(propName)) { 425 Object[] params = { propName, value }; 433 String propName = null; 438 propName = parser.getAttributeValue(i); 444 if (propName == null || value == null) { 449 if("useMyFaces".equalsIgnoreCase(propName)) { 451 } else if("useBundledJsf".equalsIgnoreCase(propName)) { [all...] |
/glassfish-3.1.2/tests/quicklook/amx/src/test/amx/ |
H A D | AMXConfigProxyTests.java | 409 for( final String propName : propNames ) 411 if ( existing.get(propName) != null ) 415 parent.removeChild( propType, propName ); 416 System.out.println( "Removed stale test config " + propName ); 420 assert false : "Unable to remove config " + propName + ": " + e; 435 for( final String propName : propNames ) 437 assert childrenProps.get(propName) != null : "property not created: " + propName; 440 for( final String propName : propNames ) 442 parent.removeChild( propType, propName ); [all...] |
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/ |
H A D | DynamicReloadService.java | 222 String propName = event.getPropertyName(); 224 if (configPropertyNames.contains(propName) && (event.getOldValue().equals(event.getNewValue()))) { 225 logger.fine("[DynamicReload] Ignoring reconfig of " + propName + 229 if (propName.equals("dynamic-reload-enabled")) { 235 } else if (propName.equals("dynamic-reload-poll-interval-in-seconds")) {
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/ |
H A D | StringUtils.java | 477 * @param propName the approximate system property name 480 public static String getProperty(String propName) { argument 482 String value = System.getProperty(propName); 487 value = System.getProperty(propName.toUpperCase()); 489 System.setProperty(propName, value); 493 value = System.getProperty(propName.replace('.', '_')); 495 System.setProperty(propName, value); 499 value = System.getProperty(propName.toUpperCase().replace('.', '_')); 501 System.setProperty(propName, value);
|
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/ldap/ |
H A D | LDAPRealm.java | 269 String propName = (String)penum.nextElement(); 270 if (propName.startsWith("java.naming.") || 271 propName.startsWith("javax.security.") || 272 propName.startsWith("com.sun.jndi.ldap.")) { 273 ldapBindProps.setProperty(propName, props.getProperty(propName)); 274 } else if (propName.startsWith(SUN_JNDI_POOL_) && 275 !SUN_JNDI_POOL_MAXSIZE.equals(propName)) { 276 if (System.getProperty(propName) == null) { 277 System.setProperty(propName, prop [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/ |
H A D | RARUtils.java | 260 String propName = (String) entry.getName(); 261 runtimePropNames.add(propName); 270 String propName = (String) entry.getName(); 271 if (runtimePropNames.contains(propName))
|
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/ |
H A D | WebContainerStarter.java | 240 String propName = prop.getName(); 242 if (AUTH_PASSTHROUGH_ENABLED_PROP.equals(propName)) { 246 } else if (PROXY_HANDLER_PROP.equals(propName)) { 248 } else if (TRACE_ENABLED_PROP.equals(propName)) {
|