Skip to main content
summaryrefslogtreecommitdiffstats
blob: b1d85cc32a664f0769ecc71136c98f85b77f09d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2001, 2004 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.commonarchivecore.internal.strategy;



import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;

/**
 * ImportStrategy knows how to interpret the information in an archive, usually in deployment
 * descriptors, to build up a model of the contained objects.
 */
public interface ImportStrategy extends ArchiveStrategy {
	/**
	 * Helper method used for copying archives; create a new instance of this kind of strategy
	 */
	public ImportStrategy createImportStrategy(Archive old, Archive newArchive);

	/**
	 * Do whatever is necessary to bring in metadata from the archive and set the deployment
	 * descriptors to the standard form that the apis can recognize
	 */
	public void importMetaData() throws Exception;

	public boolean isEJB10();
}

Back to the top