Code example for Type

0
	 * Constructor 
	 * @param factory bean handler factory 
	 * @param type bean type 
	 */ 
	public ListBeanHandler(Beans factory, Type type) {
		super(factory, type);
		 
		elementType = Types.getCollectionElementType(type);
	} 
	 
	@Override 
	protected Type getElementType() {
		return elementType;
	} 
	 
	@Override 
	protected int getSize(T list) {
		return list.size();
	} 
	 
	@Override