package org.theonefx.wcframework.ioc.val;
import org.theonefx.wcframework.utils.Assert;
/**
* Tag collection class used to hold managed array elements, which may
* include runtime bean references (to be resolved into bean objects).
*
*/
public class ManagedArray extends ManagedList<Object> {
private static final long serialVersionUID = -4089377535975055365L;
/** Resolved element type for runtime creation of the target array */
public volatile Class<?> resolvedElementType;
/**
* Create a new managed array placeholder.
* @param elementTypeName the target element type as a class name
* @param size the size of the array
*/
public ManagedArray(String elementTypeName, int size) {
super(size);
Assert.notNull(elementTypeName, "elementTypeName must not be null");
setElementTypeName(elementTypeName);
}
}