FileDocCategorySizeDatePackage
DescriptorList.javaAPI DocGlassfish v2 API3567Fri May 04 22:31:38 BST 2007com.sun.enterprise.deployment.io

DescriptorList

public class DescriptorList extends Object
Repository of descriptors This class will evolve to provide a comprhensive list of descriptors for any given type of j2ee application or stand-alone module.
author
Sreenivas Munnangi

Fields Summary
public static final String[]
earList
public static final String[]
ejbList
public static final String[]
warList
public static final String[]
rarList
public static final String[]
carList
Constructors Summary
Methods Summary
public static final java.lang.String[]getDescriptorsList(javax.enterprise.deploy.shared.ModuleType moduleType)


	        
		if (moduleType == null) return null;
		if (moduleType == ModuleType.EAR) {
			return earList;
		} else if (moduleType == ModuleType.EJB) {
			return ejbList;
		} else if (moduleType == ModuleType.WAR) {
			return warList;
		} else if (moduleType == ModuleType.RAR) {
			return rarList;
		} else if (moduleType == ModuleType.CAR) {
			return carList;
		}
		return null;