org.netbeans.modules.j2eeserver/4 1.89.0 1

org.netbeans.modules.j2ee.deployment.devmodules.api
Class J2eeApplication

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule
J2eeModule.RootedEntry, J2eeModule.Type
 
Field Summary
 
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
 
Method Summary
 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.
 
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
 

Method Detail

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

org.netbeans.modules.j2eeserver/4 1.89.0 1

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.