|
org.netbeans.api.web.webmodule 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebModuleProvider
Provider interface for web modules.
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.
WebModule.getWebModule(org.openide.filesystems.FileObject)
Method Summary | |
---|---|
WebModule |
findWebModule(org.openide.filesystems.FileObject file)
Find the web module containing a given file. |
Method Detail |
---|
WebModule findWebModule(org.openide.filesystems.FileObject file)
file
- a file; never null.
WebModuleFactory
|
org.netbeans.api.web.webmodule 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |