|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface J2eeModuleImplementation
Base SPI interface for J2eeModule.
Implementation of this interface is used to create
J2eeModule
instance using the J2eeModuleFactory.
| Method Summary | ||
|---|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list. |
|
FileObject |
getArchive()
Returns the archive file for the module of null if the archive file does not exist (for example, has not been compiled yet). |
|
Iterator |
getArchiveContents()
Returns the contents of the archive, in copyable form. |
|
FileObject |
getContentDirectory()
This call is used in in-place deployment. |
|
File |
getDeploymentConfigurationFile(String name)
Returns source deployment configuration file path for the given deployment configuration file name. |
|
|
getMetadataModel(Class<T> type)
Returns a metadata model of a deployment descriptor specified by the type parameter. |
|
Object |
getModuleType()
Returns module type. |
|
String |
getModuleVersion()
Returns a Java EE module specification version, version of a web application for example. |
|
File |
getResourceDirectory()
Returns the module resource directory, or null if the module has no resource directory. |
|
String |
getUrl()
Returns the location of the module within the application archive. |
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list. |
|
| Method Detail |
|---|
String getModuleVersion()
Do not confuse with the Java EE platform specification version.
Object getModuleType()
String getUrl()
FileObject getArchive()
throws IOException
IOException
Iterator getArchiveContents()
throws IOException
J2eeModule.RootedEntry
interface. If the J2eeModule instance describes a j2ee application,
the result should not contain module archives.
J2eeModule.RootedEntrys
IOException
FileObject getContentDirectory()
throws IOException
getArchiveContents() came from.
IOException<T> MetadataModel<T> getMetadataModel(Class<T> type)
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.
type - metadata model type class for which a MetadataModel
instance will be returned.
type
parameter.File getResourceDirectory()
File getDeploymentConfigurationFile(String name)
name - file name of the deployment configuration file, WEB-INF/sun-web.xml
for example.
void addPropertyChangeListener(PropertyChangeListener listener)
listener - PropertyChangeListenervoid removePropertyChangeListener(PropertyChangeListener listener)
listener - PropertyChangeListener
|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||