public class J2eeApplication extends J2eeModule
It is not possible to instantiate this class directly. Implementators have to
implement the J2eeApplicationImplementation
first and then use the
J2eeModuleFactory
to create a J2eeApplication instance.
J2eeModule.RootedEntry, J2eeModule.Type
APP_XML, CLIENT, CLIENT_XML, CONN, CONNECTOR_XML, EAR, EJB, EJBJAR_XML, EJBSERVICES_XML, J2EE_13, J2EE_14, JAVA_EE_5, MIME_J2EE_MODULE_TARGET, PROP_MODULE_VERSION, PROP_RESOURCE_DIRECTORY, WAR, WEB_XML, WEBSERVICES_XML
Modifier and Type | Method and Description |
---|---|
void |
addModuleListener(ModuleListener listener)
Registers the specified ModuleListener for notification about the module
changes.
|
J2eeModule[] |
getModules()
Returns a list of all the J2EEModules which this J2eeApplication contains.
|
void |
removeModuleListener(ModuleListener listener)
Unregister the specified ModuleListener.
|
addPropertyChangeListener, getArchive, getArchiveContents, getContentDirectory, getDeploymentConfigurationFile, getMetadataModel, getModuleType, getModuleVersion, getResourceDirectory, getType, getUrl, removePropertyChangeListener
public J2eeModule[] getModules()
public void addModuleListener(ModuleListener listener)
listener
- ModuleListenerpublic void removeModuleListener(ModuleListener listener)
listener
- ModuleListener