BEA Systems, Inc.

weblogic.application
Interface MergedDescriptorModule


public interface MergedDescriptorModule

This interface needs to be implemented by the modules which need access to the merged descriptor. The container will ensure that the merged descriptors are made available via the ClassLoaders by adding it to the MergedDescriptorFinder


Method Summary
 Map getDescriptorMappings()
          Return a map of URI to DescriptorBean mappings which will be used to provide the descriptor's xml when looked up from the classloader.
 void handleMergedFinder(weblogic.utils.classloaders.ClassFinder finder)
          If a MergedDescriptorFinder is created successfully, this method will be invoked by the container so that modules get a handle to the finder if need be.
 

Method Detail

getDescriptorMappings

Map getDescriptorMappings()
Return a map of URI to DescriptorBean mappings which will be used to provide the descriptor's xml when looked up from the classloader.

Returns:
Map of uri -> DescriptorBean mappings

handleMergedFinder

void handleMergedFinder(weblogic.utils.classloaders.ClassFinder finder)
If a MergedDescriptorFinder is created successfully, this method will be invoked by the container so that modules get a handle to the finder if need be. Currently the WebAppModule makes use of this. In most of the cases the implementation of this method can be a no-op.

Parameters:
finder -

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.