Examples of keySet()


Examples of org.jboss.metadata.ear.spec.ModulesMetaData.keySet()

         ourModule = modules.get(modulePath);
         if (ourModule == null)
         {
            String parentUnitName = unit.getParent().getName();
            throw new DeploymentException("No module with relative path " +
                  modulePath + " found  in set of modules for " + parentUnitName + " "  + modules.keySet());
         }
        
          uniqueName = name;
          if (!isNameUnique(uniqueName, ourModule, modules))
          {

Examples of org.jboss.metadata.ejb.jboss.ResourceManagersMetaData.keySet()

     
      JBoss50MetaData merged = new JBoss50MetaData();
      merged.merge(override, original);
      rms = merged.getResourceManagers();
      assertNotNull(rms);
      assertEquals(4, rms.size());System.out.println("rms: " + rms.keySet());
      assertTrue(rms.containsKey("original1"));
      assertTrue(rms.containsKey("original2"));
      assertTrue(rms.containsKey("override1"));
      assertTrue(rms.containsKey("override2"));
   }

Examples of org.jboss.metadata.web.jboss.JBossServletsMetaData.keySet()

        WebRoleRefPermission wrrep = new WebRoleRefPermission("", unreferencedRole);
        pc.addToRole(unreferencedRole, wrrep);
      }
     
      // Now build the cross product of the unreferencedRoles and servlets
      Set<String> servletNames = servlets.keySet();
      if(servletNames != null)
      for(String servletName : servletNames)
      {
         if(unreferencedRoles != null)
         for(String role : unreferencedRoles)

Examples of org.jboss.metatype.api.types.CompositeMetaType.keySet()

      }
      else
      {
         CompositeMetaType type = toClone.getMetaType();
         Map<String, MetaValue> map = new HashMap<String, MetaValue>();
         for (String key : type.keySet())
         {
            map.put(key, toClone.get(key));
         }
         return new MapCompositeValueSupport(map, type);
      }

Examples of org.jboss.metatype.api.types.ImmutableCompositeMetaType.keySet()

         {
            CompositeValueSupport msg = (CompositeValueSupport) mv;
            org.rhq.core.domain.configuration.PropertyMap p1 = new org.rhq.core.domain.configuration.PropertyMap("element");
            property.add(p1);
            ImmutableCompositeMetaType metaType = (ImmutableCompositeMetaType) msg.getMetaType();
            Set<String> keys = metaType.keySet();
            for (String key : keys)
            {
               SimpleValueSupport sattr = (SimpleValueSupport) msg.get(key);
               p1.put(new PropertySimple(key,sattr.getValue()));
            }

Examples of org.jboss.metatype.api.types.MapCompositeMetaType.keySet()

       }
       else if (metaType.isComposite()) {
        Properties props = new Properties();
        MapCompositeValueSupport map = (MapCompositeValueSupport) mp.getValue();
        MapCompositeMetaType type = map.getMetaType();
        for (String key : type.keySet()) {
          MetaValue value = map.get(key);
          props.setProperty(key, stringValue(value));
        }
        return props;
       }

Examples of org.jboss.metatype.api.values.PropertiesMetaValue.keySet()

    {
        if (metaValue == null)
            return;
        PropertiesMetaValue propertiesValue = (PropertiesMetaValue)metaValue;
        Set<String> mapMemberPropNames = new HashSet();
        for (Object key : propertiesValue.keySet())
            mapMemberPropNames.add((String)key);
        // There won't be any keys when loading a Configuration for the first time.
        for (String mapMemberPropName : mapMemberPropNames)
        {
            // We assume the PropertyMap is an "open map", since that's what PropertiesMetaValue maps to.

Examples of org.jboss.metatype.api.values.TableValueSupport.keySet()

      CompositeValue compData2 = initCompositeValue2(data);
      CompositeValue compData3 = initCompositeValue4(data);

      data.putAll(new CompositeValue[] { compData, compData2, compData3 });

      Set<List<MetaValue>> keySet = data.keySet();
      assertEquals("Key set should contain 3 elements", 3, keySet.size());
      assertTrue("Key set should contain index [value1, 2]", keySet.contains(Arrays.asList(initValues())));
      assertTrue("Key set should contain index [value1, 3]", keySet.contains(Arrays.asList(initValues2())));
      assertTrue("Key set should contain index [value1, 4]", keySet.contains(Arrays.asList(initValues4())));
   }

Examples of org.jboss.portal.common.util.ParameterMap.keySet()

      {
         // Clone the public navigational state with the copy mode
         ParameterMap publicParameters = ParameterMap.clone(publicNavigationalParameters);

         // Remove any parameter that would have been sent by the producer by mistake
         for (Iterator<String> i = publicParameters.keySet().iterator(); i.hasNext();)
         {
            String name = i.next();
            if (navigationInfo.getPublicParameter(name) == null)
            {
               i.remove();

Examples of org.jboss.portal.portlet.state.PropertyMap.keySet()

      if (keys == null)
      {
         throw new IllegalArgumentException("No keys provided");
      }
      PropertyMap props = getProperties(portletContext);
      props.keySet().retainAll(keys);
      return props;
   }

   public PropertyMap getProperties(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
   {
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.