org.netbeans.modules.j2eeserver/4 1.89.0 1

org.netbeans.modules.j2ee.deployment.devmodules.spi
Class J2eeApplicationProvider

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider
J2eeModuleProvider.ConfigSupport, J2eeModuleProvider.DeployOnSaveClassInterceptor, J2eeModuleProvider.DeployOnSaveSupport
 
Constructor Summary
J2eeApplicationProvider()
           
 
Method Summary
abstract  J2eeModuleProvider getChildModuleProvider(String uri)
          Returns the provider for the child module specified by given URI.
abstract  J2eeModuleProvider[] getChildModuleProviders()
          Returns list of providers of every child J2EE module of this J2EE app.
 Set<Datasource> getModuleDatasources()
          Overrides the J2eeModuleProvider's implementation so that the data sources from the child modules are returned
 
Methods inherited from class org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider
addConfigurationFilesListener, addInstanceListener, createDatasource, deployDatasources, fireServerChange, getConfigSupport, getConfigurationFiles, getConfigurationFiles, getDeploymentName, getDeployOnSaveClassInterceptor, getDeployOnSaveSupport, getInstanceProperties, getJ2eeModule, getModuleChangeReporter, getRequiredLibraries, getResourceChangeReporter, getServerDatasources, getServerDebugInfo, getServerID, getServerInstanceID, getSourceFileMap, getSourceRoots, hasVerifierSupport, isDatasourceCreationSupported, isOnlyCompileOnSaveEnabled, removeConfigurationFilesListener, removeInstanceListener, setServerInstanceID, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2eeApplicationProvider

public J2eeApplicationProvider()
Method Detail

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.

org.netbeans.modules.j2eeserver/4 1.89.0 1

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