/*
 * Copyright (c) OSGi Alliance (2017). All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.osgi.service.cdi.runtime.dto.template;

import org.osgi.dto.DTO;

/**
 * Description of a CDI container.
 *
 * @NotThreadSafe
 * @author $Id$
 */
public class ContainerTemplateDTO extends DTO {
	/**
	 * The id of the CDI container.
	 */
	public String id;

	/**
	 * The extension dependencies of this CDI container.
	 */
	public ExtensionTemplateDTO[]	extensions;

	/**
	 * The components defined in this CDI container.
	 */
	public ComponentTemplateDTO[]	components;
}

@@ -683,24 +683,123 @@
 ort 
-org.osgi.dto.DTO
+java.util.List;%0Aimport org.osgi.dto.DTO;%0Aimport org.osgi.service.cdi.runtime.dto.template.ComponentTemplateDTO.Type
 ;%0A%0A/
@@ -1039,32 +1039,144 @@
  CDI container.%0A
+%09 * %3Cp%3E%0A%09 * Must not be %7B@code null%7D%0A%09 * %3Cp%3E%0A%09 * May be empty if the container does not require CDI extensions.%0A
 %09 */%0A%09public Ext
@@ -1172,16 +1172,21 @@
 %09public 
+List%3C
 Extensio
@@ -1197,18 +1197,17 @@
 plateDTO
-%5B%5D
+%3E
 %09extensi
@@ -1259,32 +1259,165 @@
  CDI container.%0A
+%09 * %3Cp%3E%0A%09 * Must not be %7B@code null%7D%0A%09 * %3Cp%3E%0A%09 * Has at lest one element for the %7B@link Type#APPLICATION application%0A%09 * component%7D.%0A
 %09 */%0A%09public Com
@@ -1413,16 +1413,21 @@
 %09public 
+List%3C
 Componen
@@ -1442,10 +1442,9 @@
 eDTO
-%5B%5D
+%3E
 %09com

Fix some DTO arrays to lists