Package java.util

Examples of java.util.HashMap.values()


    serviceClient.setOptions(clientOptions);

    HashMap axisServices = serverConfigContext.getAxisConfiguration().getServices();
   
    AxisService service = null;
    Iterator values = axisServices.values().iterator();
    while(values.hasNext())
      service = (AxisService)values.next();

    // Set the Sequence timout property to 1 second.
    Iterator operations = service.getOperations();
View Full Code Here


    public void configure( final Configuration configuration )
        throws ConfigurationException
    {
        final Configuration[] targets = configuration.getChildren( "log-target" );
        final HashMap targetSet = configureTargets( targets );
        m_targets = targetSet.values();
        final Configuration[] categories = configuration.getChildren( "category" );
        configureCategories( categories, targetSet );
    }

    /**
 
View Full Code Here

        col.add(baseAttr);
    }
      }
   
      cur.rendered = true;
          col.addAll(loa.values());
        }
    };
    XmlAttrStack xmlattrStack = new XmlAttrStack();

    /**
 
View Full Code Here

                }

                // Avatars left in the serverAvatars map are only on the server,
                // and not on the client (so the previous code block did not
                // see them), so add them to the download list.
                for (ImiServerAvatar serverAvatar : tmpServerAvatars.values()) {
                    logger.info("Adding Server avatar to download list " +
                            serverAvatar.avatarName + " version " +
                            serverAvatar.version);

                    downloadList.add(serverAvatar);
View Full Code Here

            for (Iterator iterator = attributes.iterator(); iterator.hasNext();) {
                GAttributeInfo attribute = (GAttributeInfo) iterator.next();
                map.put(attribute.getName(), attribute);
            }
            this.attributesByName = Collections.unmodifiableMap(map);
            this.attributes = Collections.unmodifiableSet(new HashSet(map.values()));
        }
        if (constructor == null) {
            this.constructor = new GConstructorInfo(Collections.EMPTY_LIST);
        } else {
            this.constructor = constructor;
View Full Code Here

        for (Iterator iterator = gbeanInfo.getAttributes().iterator(); iterator.hasNext();) {
            GAttributeInfo attributeInfo = (GAttributeInfo) iterator.next();
            attributesMap.put(attributeInfo.getName(), new GBeanAttribute(this, attributeInfo, constructorArgs.contains(attributeInfo.getName())));
        }
        addManagedObjectAttributes(attributesMap);
        attributes = (GBeanAttribute[]) attributesMap.values().toArray(new GBeanAttribute[attributesMap.size()]);
        for (int i = 0; i < attributes.length; i++) {
            attributeIndex.put(attributes[i].getName(), new Integer(i));
        }

        // references
View Full Code Here

    public Collection recover(XidFactory xidFactory) throws LogException {
        Map copy = new HashMap(prepared);
        copy.keySet().removeAll(committed);
        copy.keySet().removeAll(rolledBack);
        return copy.values();
    }

    public String getXMLStats() {
        return null;
    }
View Full Code Here

                values = new ArrayList();
                results.put(metadata.getCategory(), values);
            }
            values.add(metadata);
        }
        Collection values = results.values();
        for (Iterator it = values.iterator(); it.hasNext();) {
            List list = (List) it.next();
            Collections.sort(list);
        }
        request.setAttribute("categories", results);
View Full Code Here

        log.debug("Initiating transaction manager recovery");
        Map recovered = new HashMap();
        ReplayListener replayListener = new GeronimoReplayListener(xidFactory, recovered);
        logger.replayActiveTx(replayListener);
        log.debug("In doubt transactions recovered from log");
        return recovered.values();
    }

    public String getXMLStats() {
        return logger.getStats();
    }
View Full Code Here

                    status.add("Skipping element '"+name+"'");
                }
            }
        }
        if(pools.size() > 0) {
            for (Iterator it = pools.values().iterator(); it.hasNext();) {
                ConnectionPool pool = (ConnectionPool) it.next();
                if(pool.getPassword() != null && pool.getPassword().startsWith("{")) {
                    status.add("NOTE: When importing from WebLogic, typically database passwords cannot be recovered, and will need to be re-entered.");
                    break;
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.