org.netbeans.modules.j2ee.deployment.devmodules.api
Class J2eeApplication
java.lang.Object
org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule
org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeApplication
public class J2eeApplication
- extends J2eeModule
Abstraction of J2EE Application. Provides access to basic server-neutral properties
of the application: J2EE version, module type, deployment descriptor and its child
modules.
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.
| Fields inherited from class org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule |
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 |
| Methods inherited from class org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule |
addPropertyChangeListener, getArchive, getArchiveContents, getContentDirectory, getDeploymentConfigurationFile, getMetadataModel, getModuleType, getModuleVersion, getResourceDirectory, getType, getUrl, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getModules
public J2eeModule[] getModules()
- Returns a list of all the J2EEModules which this J2eeApplication contains.
- Returns:
- list of all the child J2EEModules
addModuleListener
public void addModuleListener(ModuleListener listener)
- Registers the specified ModuleListener for notification about the module
changes.
- Parameters:
listener - ModuleListener
removeModuleListener
public void removeModuleListener(ModuleListener listener)
- Unregister the specified ModuleListener.
- Parameters:
listener - ModuleListener