Base SPI interface for
J2eeModule . Implementation of this interface
is used to create
J2eeModule instance using the
J2eeModuleFactory .
author: sherold since: 1.23
getDeploymentConfigurationFile(String name) Returns source deployment configuration file path for the given deployment
configuration file name.
Parameters: name - file name of the deployment configuration file, WEB-INF/sun-web.xmlfor example.
MetadataModel<T>
getMetadataModel(Class<T> type) Returns a metadata model of a deployment descriptor specified by the
type parameter.
As an example, passing org.netbeans.modules.j2ee.dd.api.web.WebAppMetadata.class
as a type parameter will return a metadata model of the web module deployment
descriptor - web.xml.
Parameters: type - metadata model type class for which a MetadataModelinstance will be returned.
Returns the contents of the archive, in copyable form.
Used for incremental deployment.
Currently uses its own
RootedEntry interface.
If the J2eeModule instance describes a
j2ee application, the result should not contain module archives.
Iterator through RootedEntrys
This call is used in in-place deployment.
Returns the directory staging the contents of the archive
This directory is the one from which the content entries returned
by
J2eeModuleImplementation.getArchiveContents came from.
FileObject for the content directory, return null if the module doesn't have a build directory, like an binary archive project
Returns source deployment configuration file path for the given deployment
configuration file name.
Parameters: name - file name of the deployment configuration file, WEB-INF/sun-web.xmlfor example. absolute path to the deployment configuration file, or null if thespecified file name is not known to this J2eeModule.
Returns a metadata model of a deployment descriptor specified by the
type parameter.
As an example, passing org.netbeans.modules.j2ee.dd.api.web.WebAppMetadata.class
as a type parameter will return a metadata model of the web module deployment
descriptor - web.xml.
Parameters: type - metadata model type class for which a MetadataModelinstance will be returned. metadata model of a deployment descriptor specified by the typeparameter.
Returns the module resource directory, or null if the module has no resource
directory.
the module resource directory, or null if the module has no resourcedirectory.