org.netbeans.modules.j2ee.deployment.plugins.api
Class TargetModuleIDResolver

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.plugins.api.TargetModuleIDResolver

public abstract class TargetModuleIDResolver
extends Object

Service provided by plugin for lookup TargetModuleID. This service basically help J2EE framework identify the target modules needs to be undeployed before a safe full deployment can happen.


Field Summary
static javax.enterprise.deploy.spi.TargetModuleID[] EMPTY_TMID_ARRAY
           
static String KEY_CONTENT_DIR
           
static String KEY_CONTEXT_ROOT
           
 
Constructor Summary
TargetModuleIDResolver()
           
 
Method Summary
 String[] getLookupKeys()
           
abstract  javax.enterprise.deploy.spi.TargetModuleID[] lookupTargetModuleID(Map targetModuleInfo, javax.enterprise.deploy.spi.Target[] targetList)
          Return the list of TargetModuleIDs that could match the given lookup info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_CONTEXT_ROOT

public static final String KEY_CONTEXT_ROOT
See Also:
Constant Field Values

KEY_CONTENT_DIR

public static final String KEY_CONTENT_DIR
See Also:
Constant Field Values

EMPTY_TMID_ARRAY

public static final javax.enterprise.deploy.spi.TargetModuleID[] EMPTY_TMID_ARRAY
Constructor Detail

TargetModuleIDResolver

public TargetModuleIDResolver()
Method Detail

getLookupKeys

public final String[] getLookupKeys()

lookupTargetModuleID

public abstract javax.enterprise.deploy.spi.TargetModuleID[] lookupTargetModuleID(Map targetModuleInfo,
                                                                                  javax.enterprise.deploy.spi.Target[] targetList)
Return the list of TargetModuleIDs that could match the given lookup info.

Parameters:
targetModuleInfo - lookup info, keyed by list returned by #getLookupKeys
Returns:
array of root TargetModuleIDs.

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.