org.netbeans.modules.j2ee.deployment.devmodules.spi
Class J2eeApplicationProvider
java.lang.Object
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeApplicationProvider
public abstract class J2eeApplicationProvider
- extends J2eeModuleProvider
This interface must be implemented by J2EE Application support and an instance
added into project lookup.
- Since:
- 1.23
| Methods inherited from class org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider |
addConfigurationFilesListener, addInstanceListener, createDatasource, deployDatasources, fireServerChange, getConfigSupport, getConfigurationFiles, getConfigurationFiles, getDeploymentName, getDeployOnSaveSupport, getInstanceProperties, getJ2eeModule, getModuleChangeReporter, getServerDatasources, getServerDebugInfo, getServerID, getServerInstanceID, getSourceFileMap, getSourceRoots, hasVerifierSupport, isDatasourceCreationSupported, removeConfigurationFilesListener, removeInstanceListener, setServerInstanceID, verify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
J2eeApplicationProvider
public J2eeApplicationProvider()
getChildModuleProvider
public abstract J2eeModuleProvider getChildModuleProvider(String uri)
- Returns the provider for the child module specified by given URI.
- Parameters:
uri - the child module URI within the J2EE application.
- Returns:
- J2eeModuleProvider object
getChildModuleProviders
public abstract J2eeModuleProvider[] getChildModuleProviders()
- Returns list of providers of every child J2EE module of this J2EE app.
- Returns:
- array of J2eeModuleProvider objects.
getModuleDatasources
public Set<Datasource> getModuleDatasources()
throws ConfigurationException
- Overrides the
J2eeModuleProvider's implementation so that
the data sources from the child modules are returned
- Overrides:
getModuleDatasources in class J2eeModuleProvider
- Returns:
- set of data sources
- Throws:
ConfigurationException - when an error occured while retrieving
module data sources.