Searched defs:prop (Results 1 - 21 of 21) sorted by relevance

/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/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/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/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ejb/
H A DDeploymentHelper.java119 * @param prop a Properties object where flag is located
124 public static boolean isJavaToDatabase(Properties prop) { argument
125 if (prop != null) {
126 String value = prop.getProperty(DatabaseConstants.JAVA_TO_DB_FLAG);
/glassfish-3.1.2/common/common-util/src/test/java/org/glassfish/common/util/admin/
H A DMapInjectionResolverTest.java157 target = (AnnotatedElement)cl.getDeclaredField("prop");
270 ae = (AnnotatedElement)cl.getDeclaredField("prop");
313 @Param(name="prop", separator=':')
314 Properties prop; field in class:MapInjectionResolverTest.DummyCommand
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DConnectionDefinitionUtils.java259 private static boolean containsProperty(String prop, Map map) { argument
263 if(prop.equalsIgnoreCase(key)) {
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...]
H A DConnectionPoolObjectsUtils.java304 public static String getValueFromMCF(String prop, PoolInfo poolInfo, argument
308 Method m = mcf.getClass().getMethod("get" + prop, (java.lang.Class[]) null);
435 private static boolean toBoolean( Object prop, boolean defaultVal ) { argument
436 if ( prop == null ) {
439 return Boolean.valueOf(((String) prop).toLowerCase());
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/
H A DConnectorConnectionPoolDeployer.java582 private boolean toBoolean(Object prop, boolean defaultVal) { argument
583 if (prop == null) {
587 return Boolean.valueOf((String) prop);
H A DJdbcConnectionPoolDeployer.java550 private boolean toBoolean(Object prop, boolean defaultVal) { argument
551 if (prop == null) {
554 return Boolean.valueOf(((String) prop).toLowerCase());
/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/admin/cli/src/main/java/com/sun/enterprise/admin/cli/schemadoc/
H A DClassDef.java151 public void addProperty(PropertyDesc prop) { argument
152 properties.add(prop);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DUtility.java259 public static void invokeSetMethod(Object obj, String prop, String value) argument
265 String setMeth = "set" + prop.substring(0,1).toUpperCase() +
266 prop.substring(1);
295 public static void invokeSetMethodCaseInsensitive(Object obj, String prop, String value) argument
302 String setMeth = "set" + prop;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/
H A DConnectorConnectionPoolAdminServiceImpl.java735 * @param prop
738 protected String getPropertyValue(String prop, argument
748 if (envProp.getName().toUpperCase(Locale.getDefault()).equals(prop)) {
/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/cluster/gms-adapter/src/main/java/org/glassfish/gms/
H A DGMSAdapterImpl.java110 * Used only for user-managed clusters. This prop can be set
433 Property prop = clusterConfig.getGroupManagementService().getProperty(keyName);
434 if (prop == null) {
442 String value = prop.getValue().trim();
505 for (Property prop : props) {
506 String name = prop.getName().trim();
507 String value = prop.getValue().trim();
543 for (Property prop : props) {
544 String name = prop.getName().trim();
545 String value = prop
833 printProps(Properties prop) argument
[all...]
/glassfish-3.1.2/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/
H A DMappingGenerator.java454 * @param prop the property for user override
465 public static void updateProperties(Properties prop, String className, argument
469 prop.setProperty(
473 updateProperty(prop, MappingPolicy.getOverrideForLength(
476 updateProperty(prop, MappingPolicy.getOverrideForScale(
479 updateProperty(prop, MappingPolicy.getOverrideForPrecision(
487 * @param prop a property object which needs to be updated
491 private static void updateProperty(Properties prop, String key, argument
494 prop.setProperty(key, value.toString());
497 prop
[all...]
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/generator/
H A DJavaClassWriterHelper.java279 * @param prop String to use for field generation.
284 public static void addFields(String prop, int modifiers, JavaClassWriter writer) argument
286 String[] v = getBodyAsStrings(prop);
307 * @param prop String to use for field generation.
311 public static void addPrivateField(String prop, int modifiers, JavaClassWriter writer) argument
313 addFields(prop, Modifier.PRIVATE + modifiers, writer);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DEjbMessageBeanDescriptor.java346 public void putActivationConfigProperty(EnvironmentProperty prop) { argument
348 removeActivationConfigPropertyByName(prop.getName());
349 activationConfig.getActivationConfig().add(prop);
352 public void removeActivationConfigProperty(EnvironmentProperty prop) { argument
356 if( next.getName().equals(prop.getName()) &&
357 next.getValue().equals(prop.getValue()) ) {
394 public void putRuntimeActivationConfigProperty(EnvironmentProperty prop) { argument
395 runtimeActivationConfig.getActivationConfig().add(prop);
398 public void removeRuntimeActivationConfigProperty(EnvironmentProperty prop) { argument
403 if( next.getName().equals(prop
[all...]
/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 DAMXConfigImpl.java1334 final ConfigModel.Property prop,
1338 final Object o = writeable.getter(prop, getCollectionGenericType());
1463 final ConfigModel.Property prop = getConfigModel_Property(mElementName);
1464 mResult = handleCollection(mWriteable, prop, mCmd, ListUtil.asStringList(mValues));
1488 final ConfigModel.Property prop = getConfigModel_Property(xmlName);
1490 if (prop.isCollection())
1492 final List<String> results = handleCollection(mWriteable, prop, OP_REPLACE, ListUtil.asStringList(value));
1496 mWriteable.setter(prop, value, String.class);
1541 final ConfigModel.Property prop = getConfigModel_Property(xmlName);
1542 if ( prop !
1332 handleCollection( final WriteableView writeable, final ConfigModel.Property prop, final String cmd, final List<String> argValues) argument
[all...]

Completed in 309 milliseconds