public interface WebModuleProvider
org.netbeans.api.web.webmodule module registers an
implementation of this interface to global lookup which looks for the
project which owns a file (if any) and checks its lookup for this interface,
and if it finds an instance, delegates to it. Therefore it is not normally
necessary for a project type provider to register its own instance just to
define the web module for files it owns, assuming it uses projects for
implementation of the web module.
If needed a new implementation of this interface can be registered in global lookup.
|Modifier and Type||Method and Description|
Find the web module containing a given file.
WebModule findWebModule(FileObject file)
file- a file; never null.