Searched refs:prop (Results 1 - 25 of 118) sorted by relevance

12345

/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DSetMethodAction.java84 EnvironmentProperty prop = (EnvironmentProperty) it.next();
85 String propName = prop.getName();
86 Class type = getTypeOf(prop);
90 type = Class.forName(prop.getType());
93 if (prop.getResolvedValue() != null &&
94 prop.getResolvedValue().trim().length() != 0) {
102 "value [" + prop.getResolvedValueObject().getClass()
103 + " , " + getFilteredPropValue(prop) + " ] ");
105 meth.invoke(bean, new Object[]{prop.getResolvedValueObject()});
109 new Object[]{prop
143 handleException(Exception ex, EnvironmentProperty prop, Object bean) argument
156 getFilteredPropValue(EnvironmentProperty prop) argument
219 getTypeOf(EnvironmentProperty prop) argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBoundedMultiLruCache.java74 String prop = strMaxSize;
75 if (prop != null) {
79 prop = prop.toUpperCase();
82 if ((index = prop.indexOf("KB")) != -1) {
84 prop = prop.substring(0, index);
85 } else if ((index = prop.indexOf("MB")) != -1) {
87 prop = prop
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DSystemPropertyBag.java102 for (final SystemProperty prop : me.getSystemProperty()) {
103 if (prop.getName().equals(name)) {
104 return prop;
115 final SystemProperty prop = getSystemProperty(me, name);
116 if (prop != null) {
117 return prop.getValue();
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/meta/
H A DJDOMetaDataProperties.java365 Property prop = (Property) props.get (i);
366 validateClassProperty (prop, classname);
376 Property prop = (Property) props.get (i);
377 if (prop.name.equals (PROPERTY_ACCESS_MODIFIER))
379 clazz.modifiers = getModifiers (prop.value);
381 else if (prop.name.equals (PROPERTY_JDO_MODIFIER))
383 clazz.isPersistent = prop.value.equals (JDO_PERSISTENT);
385 else if (prop.name.equals (PROPERTY_SUPER_CLASSNAME))
387 clazz.setSuperClassName (prop.value);
389 else if (prop
409 validateClassProperty(Property prop, String classname) argument
567 validateFieldProperty(Property prop, String fieldname, String classname) argument
828 checkPropertyValue(Property prop, String [] validvalues, String name, String entry) argument
[all...]
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DConfigToolsImpl.java91 for (final Property prop : props)
93 if (prop == null)
98 if (prop.getName().equals(name))
100 return prop;
108 for (final SystemProperty prop : props)
110 if (prop.getName().equals(name))
112 return prop;
197 Property prop = findProperty(props, name);
198 if (prop != null)
200 final Property propW = configSupport.getWriteableView(prop);
[all...]
H A DAttributeResolverHelper.java113 for( final SystemProperty prop : props.values() )
115 if ( prop.getName().equals( varName ) )
117 result = prop.getValue();
/glassfish-3.1.2/core/kernel/src/test/java/com/sun/enterprise/v3/admin/
H A DAdminAdapterTest.java67 for (String prop : correctProps.stringPropertyNames()) {
69 correctProps.getProperty(prop), props.getOne(prop));
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DUpgradeService.java253 Property prop =
255 prop.setName(property.getName());
256 prop.setValue(property.getValue());
257 app.getProperty().add(prop);
260 Property prop =
262 prop.setName(MODULE_TYPE);
263 prop.setValue(ServerTags.CONNECTOR_MODULE);
264 app.getProperty().add(prop);
292 Property prop =
294 prop
[all...]
H A DBaseLegacyConfigurationUpgrade.java93 Property prop = it.next();
94 if (property.equals(prop.getName())) {
109 Property prop = iterator.next();
110 if (property.equals(prop.getName())) {
112 return prop.getValue();
H A DPropertyResolver.java97 for (SystemProperty prop : props) {
98 if (prop.getName().equals(propName)) {
99 return prop.getValue();
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DServiceRefPortInfo.java315 NameValuePairDescriptor prop = null;
320 prop = next;
324 return prop;
333 NameValuePairDescriptor prop =
335 if( prop != null ) {
336 prop.setValue(property.getValue());
348 NameValuePairDescriptor prop =
350 if (prop != null) {
376 NameValuePairDescriptor prop = null;
381 prop
[all...]
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/transform/
H A DPropertyVisitor.java56 public PropertyVisitor(Property prop) { argument
57 _prop = prop;
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/utils/
H A DLogFormatter.java102 * @param prop a <code>Properties</code> value
105 public static String convertPropsToString(Properties prop) argument
107 if(prop==null){
111 for(Enumeration enum1 = prop.propertyNames(); enum1.hasMoreElements(); )
115 Object val=prop.getProperty((String)obj);
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DConfiguration.java99 private static Properties prop = null; field in class:Configuration
277 if( prop != null )
278 envValue = prop.getProperty(envDir);
415 * @param prop The Properties.
424 if (prop == null)
425 prop = newProp;
427 prop.putAll(newProp);
430 String propertiesList = LogFormatter.convertPropsToString(prop);
434 if (prop != null) {
435 dbLogResource = prop
[all...]
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DPropertyChangeListenerTest.java93 final Property prop = target.getProperty().get(0);
99 param.setValue(prop.getValue().toUpperCase());
102 }, prop);
H A DAddPropertyTest.java100 Property prop = domain.createChild(Property.class);
101 domain.getProperty().add(prop);
102 prop.setName("Jerome");
103 prop.setValue("was here");
104 return prop;
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DPropertiesAccessTest.java88 for (final PropertyConfig prop : all.values() ) {
89 final String name = prop.getName();
90 final String value = prop.getValue();
100 for ( final PropertyConfig prop : all.values() ) {
102 final String value = prop.getValue();
103 prop.setValue(value);
105 assert (prop.getValue().equals(value));
H A DSystemPropertiesAccessTest.java74 for (final SystemPropertyConfig prop : all.values() ) {
75 final String value = prop.getValue();
85 for ( final SystemPropertyConfig prop : all.values() ) {
87 final String value = prop.getValue();
88 prop.setValue(value);
90 assert prop.getValue().equals(value);
/glassfish-3.1.2/cluster/gms-adapter/src/main/java/org/glassfish/gms/
H A DGMSConfigUpgrade.java159 Property prop = cluster.getProperty("gms-bind-interface-address");
160 if (prop != null && prop.getValue() != null) {
161 cluster.setGmsBindInterfaceAddress(prop.getValue());
163 props.remove(prop);
227 Property prop = gms.getProperty("failure-detection-tcp-retransmit-timeout");
228 if (prop != null && prop.getValue() != null ) {
230 fd.setVerifyFailureConnectTimeoutInMillis(prop.getValue().trim());
235 props.remove(prop);
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/
H A DConnectorAdminServiceUtils.java97 ConnectorConfigProperty prop =
100 if (prop.getName().toUpperCase().equals("USERNAME") ||
101 prop.getName().toUpperCase().equals("USER")) {
102 userName = prop.getValue();
103 } else if (prop.getName().toUpperCase().equals("PASSWORD")) {
104 password = prop.getValue();
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/adapter/
H A DAdminEndpointDecider.java162 private void setGuiContextRoot(Property prop) { argument
163 if (prop == null) {
167 if (ServerTags.ADMIN_CONSOLE_CONTEXT_ROOT.equals(prop.getName())) {
168 if (prop.getValue() != null && prop.getValue().startsWith("/")) {
169 guiContextRoot = prop.getValue();
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/common/
H A DXMLContentActionReporter.java142 for (Map.Entry prop : part.getProps().entrySet()) {
145 p.setAttribute("name", prop.getKey().toString());
146 p.setAttribute("value", prop.getValue().toString());
165 for (Map.Entry prop : part.getProps().entrySet()) {
166 messagePart.setAttribute(prop.getKey().toString(),
167 prop.getValue().toString());
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/upgrade/
H A DEJBTimerServiceUpgrade.java102 Property prop = ts.createChild(Property.class);
103 ts.getProperty().add(prop);
104 prop.setName(EjbContainerUtil.TIMER_SERVICE_UPGRADED);
105 prop.setValue("false");
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/trace/
H A DTraceRecordFormatter.java154 * @param prop a <code>Properties</code> value
157 public static String convertPropsToString(Properties prop) argument
159 if(prop==null){
163 for(Enumeration e = prop.propertyNames(); e.hasMoreElements(); )
167 Object val=prop.getProperty((String)obj);
/glassfish-3.1.2/tests/quicklook/amx/src/test/amx/
H A DAMXProxyTests.java321 for( final Property prop : children.values() ) { prop.getValue(); }
335 for( final SystemProperty prop : children.values() ) { prop.getValue(); }
525 for( final Property prop : property.values() ) { prop.getValue(); }
532 for( final Property prop : asSet ) { prop.getValue(); }
536 for( final Property prop : asList ) { prop
[all...]

Completed in 85 milliseconds

12345