blob: 154b7625050432f67c214ff0a0446450d5529f11 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.j2ee.internal.archive.operations;
import java.util.List;
import org.eclipse.jst.j2ee.classpathdep.IClasspathDependencyConstants;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
public class J2EEComponentLoadStrategyImpl extends ComponentLoadStrategyImpl{
public J2EEComponentLoadStrategyImpl(IVirtualComponent component) {
super(component);
}
public J2EEComponentLoadStrategyImpl(IVirtualComponent component, boolean includeClasspathComponents) {
super(component, includeClasspathComponents);
}
@Override
public List getFiles() {
super.getFiles();
if (includeClasspathComponents) {
addMappedClassFolders(IClasspathDependencyConstants.RUNTIME_MAPPING_INTO_COMPONENT_PATH);
}
return filesHolder.getFiles();
}
}