org.netbeans.modules.j2eeserver/4 1.89.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi.config
Interface ModuleConfiguration

All Superinterfaces:
Lookup.Provider

public interface ModuleConfiguration
extends Lookup.Provider

An interface that defines a container for all the server-specific configuration information for a single top-level J2EE module. The ModuleConfiguration object could represent a single stand-alone module or a J2EE application that contains several sub-modules. The ModuleConfiguration object contains in its lookup a set of configurations that are used for managing the server-specific settings.

Since:
1.23

Method Summary
 void dispose()
          The j2eeserver calls this method when it is done using this ModuleConfiguration instance.
 J2eeModule getJ2eeModule()
          Returns a J2EE module associated with this ModuleConfiguration instance.
 Lookup getLookup()
          Returns lookup associated with the object.
 

Method Detail

getLookup

Lookup getLookup()
Returns lookup associated with the object. This lookup should contain implementations of all the supported configurations.

The configuration are: ContextRootConfiguration, DatasourceConfiguration, MappingConfiguration, EjbResourceConfiguration, DeploymentPlanConfiguration, MessageDestinationConfiguration

Implementators are advised to use Lookups.fixed(java.lang.Object...) to implement this method.

Specified by:
getLookup in interface Lookup.Provider
Returns:
lookup associated with the object containing all the supported ConfigurationProvider implementations.

getJ2eeModule

J2eeModule getJ2eeModule()
Returns a J2EE module associated with this ModuleConfiguration instance.

Returns:
a J2EE module associated with this ModuleConfiguration instance.

dispose

void dispose()
The j2eeserver calls this method when it is done using this ModuleConfiguration instance. The server plug-in should free all the associated resources - listeners for example.


org.netbeans.modules.j2eeserver/4 1.89.0 1

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