Package org.apache.aries.blueprint.reflect

Examples of org.apache.aries.blueprint.reflect.MapMetadataImpl


                if (nodeNameEquals(e, ENTRY_ELEMENT)) {
                    entries.add(parseMapEntry(e, enclosingComponent, null, null));
                }
            }
        }
        return new MapMetadataImpl(keyType, valueType, entries);
    }
View Full Code Here


                if (nodeNameEquals(e, ENTRY_ELEMENT)) {
                    entries.add(parseMapEntry(e, enclosingComponent, null, null));
                }
            }
        }
        return new MapMetadataImpl(keyType, valueType, entries);
    }
View Full Code Here

                if (nodeNameEquals(e, ENTRY_ELEMENT)) {
                    entries.add(parseMapEntry(e, enclosingComponent, null, null));
                }
            }
        }
        return new MapMetadataImpl(keyType, valueType, entries);
    }
View Full Code Here

                if (nodeNameEquals(e, ENTRY_ELEMENT)) {
                    entries.add(parseMapEntry(e, enclosingComponent, null, null));
                }
            }
        }
        return new MapMetadataImpl(keyType, valueType, entries);
    }
View Full Code Here

                Metadata valValue = context.parseElement(Metadata.class, enclosingComponent, first);
                entries.add(new MapEntryImpl(keyValue, valValue));
            }
        }

        return new MapMetadataImpl("java.lang.String", "org.eclipse.jetty.server.Connector", entries);
    }
View Full Code Here

            if (handlers != null) {
                Metadata valValue = parseListData(context, enclosingComponent, handlers);
                entries.add(new MapEntryImpl(keyValue, valValue));
            }
        }
        return new MapMetadataImpl("java.lang.String", "java.util.List", entries);
    }
View Full Code Here

        String id = getId(context, element);
        if (StringUtils.isEmpty(id)){
            throw new ComponentDefinitionException("'id' attribute is missing for environment definition.");
        }

        MapMetadataImpl envParamMetadata = context.createMetadata(MapMetadataImpl.class);
        envParamMetadata.setKeyType(String.class.getName());
        envParamMetadata.setValueType(Object.class.getName());

        checkAndSetReference(context, element, envParamMetadata, ELEMENT_ENTITY_MANAGER_FACTORY, EnvironmentName.ENTITY_MANAGER_FACTORY, ATTRIBUTE_REF);
        checkAndSetReference(context, element, envParamMetadata, ELEMENT_TRANSACTION_MANAGER, EnvironmentName.TRANSACTION_MANAGER, ATTRIBUTE_REF);
        checkAndSetReference(context, element, envParamMetadata, ELEMENT_GLOBALS, EnvironmentName.GLOBALS, ATTRIBUTE_REF);
        checkAndSetReference(context, element, envParamMetadata, ELEMENT_DATE_FORMATS, EnvironmentName.DATE_FORMATS, ATTRIBUTE_REF);
View Full Code Here

                Metadata valValue = context.parseElement(Metadata.class, enclosingComponent, first);
                entries.add(new MapEntryImpl(keyValue, valValue));
            }
        }

        return new MapMetadataImpl("java.lang.String", "org.eclipse.jetty.server.Connector", entries);
    }
View Full Code Here

            if (handlers != null) {
                Metadata valValue = parseListData(context, enclosingComponent, handlers);
                entries.add(new MapEntryImpl(keyValue, valValue));
            }
        }
        return new MapMetadataImpl("java.lang.String", "java.util.List", entries);
    }
View Full Code Here

TOP

Related Classes of org.apache.aries.blueprint.reflect.MapMetadataImpl

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.