Package org.jboss.metatype.api.types

Examples of org.jboss.metatype.api.types.MapCompositeMetaType


* @author Ian Springer
*/
public class JMSSecurityConfigAdapter extends AbstractPropertyListAdapter {
    public MetaValue convertToMetaValue(PropertyList propertyList, PropertyDefinitionList propertyDefinitionList,
        MetaType metaType) {
        MapCompositeMetaType securityConfigCompositeMetaType = (MapCompositeMetaType) metaType;
        MapCompositeValueSupport securityConfigCompositeValue = new MapCompositeValueSupport(
            securityConfigCompositeMetaType.getValueType());
        populateMetaValueFromProperty(propertyList, securityConfigCompositeValue, propertyDefinitionList);
        return securityConfigCompositeValue;
    }
View Full Code Here


      propValues.put("config-property", metaValue);

      propValues.put("track-connection-by-tx", SimpleValueSupport.wrap(Boolean.TRUE));
      propValues.put("config-property",
            new MapCompositeValueSupport(new HashMap<String, MetaValue>(),
                  new MapCompositeMetaType(SimpleMetaType.STRING)));
      // todo: how to set the specific domain?
      //ApplicationManagedSecurityMetaData secDomain = new ApplicationManagedSecurityMetaData();
      //props.get("security-domain").setValue(secDomain);

      ComponentType compType = new ComponentType("ConnectionFactory", "NoTx");
View Full Code Here


   public XAConnectionFactoryProperty(String s)
   {
      super(s);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

   }

   public XAConnectionFactoryProperty(Fields fields)
   {
      super(fields);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

   }

   public XAConnectionFactoryProperty(ManagedObject managedObject, Fields fields)
   {
      super(managedObject, fields);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

   }

   public ConnectionFactoryProperty(Fields fields)
   {
      super(fields);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

   }

   public ConnectionFactoryProperty(ManagedObject managedObject, Fields fields)
   {
      super(managedObject, fields);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

   }

   public ConnectionFactoryProperty(Fields fields)
   {
      super(fields);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

   }

   public ConnectionFactoryProperty(ManagedObject managedObject, Fields fields)
   {
      super(managedObject, fields);
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      setField(Fields.META_TYPE, null);
   }
View Full Code Here

{
   MapCompositeMetaType type;

   public BeanMetaMapper()
   {
      type = new MapCompositeMetaType(SimpleMetaType.STRING);
      type.addItem("name", "the name of the bean");
      type.addItem("value", "the string value of the bean");
      type.addItem("type", "the type name of the value");
   }
View Full Code Here

TOP

Related Classes of org.jboss.metatype.api.types.MapCompositeMetaType

Copyright © 2018 www.massapicom. 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.