public interface WebModuleProvider
The 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 |
|---|---|
WebModule |
findWebModule(FileObject file)
Find the web module containing a given file.
|
WebModule findWebModule(FileObject file)
file - a file; never null.WebModuleFactoryBuilt on May 16 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.