1 19 20 27 28 package org.netbeans.modules.j2ee.deployment.plugins.api; 29 30 import javax.enterprise.deploy.spi.TargetModuleID ; 31 import javax.enterprise.deploy.spi.Target ; 32 33 38 public abstract class TargetModuleIDResolver { 39 40 public static final String KEY_CONTEXT_ROOT = "contextRoot"; 41 public static final String KEY_CONTENT_DIR = "contentDirs"; 42 public static final TargetModuleID [] EMPTY_TMID_ARRAY = new TargetModuleID [0]; 43 private static String [] lookupKeys = null; 44 45 public final String [] getLookupKeys() { 46 if (lookupKeys == null) { 47 lookupKeys = new String [] { 48 KEY_CONTEXT_ROOT, KEY_CONTENT_DIR 49 }; 50 } 51 return lookupKeys; 52 } 53 54 59 public abstract TargetModuleID [] lookupTargetModuleID(java.util.Map targetModuleInfo, Target [] targetList); 60 } 61 | Popular Tags |