org.overlord.commons.dev.server.discovery
Class WebAppModuleFromIDEGAVStrategy
java.lang.Object
org.overlord.commons.dev.server.discovery.AbstractModuleDiscoveryStrategy
org.overlord.commons.dev.server.discovery.WebAppModuleFromIDEGAVStrategy
- All Implemented Interfaces:
- IModuleDiscoveryStrategy
public class WebAppModuleFromIDEGAVStrategy
- extends AbstractModuleDiscoveryStrategy
Finds a web app from GAV information. Must be on the current classpath. This strategy is used when the web
app doesn't have any actual classes in it. In those cases, the -classes.jar of the web app *still* needs to
be on the classpath, but we search for the jar itself rather than a class in the jar.
- Author:
- eric.wittmann@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAppModuleFromIDEGAVStrategy
public WebAppModuleFromIDEGAVStrategy(String groupId,
String artifactId,
boolean useIdeSourcePath)
- Constructor.
- Parameters:
groupId - artifactId -
getName
public String getName()
- Returns:
- the name of the strategy
- See Also:
IModuleDiscoveryStrategy.getName()
discover
public DevServerModule discover(ModuleDiscoveryContext context)
- Returns:
- the discovered module or null if not found
- See Also:
IModuleDiscoveryStrategy.discover(org.overlord.commons.dev.server.discovery.ModuleDiscoveryContext)
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.