com.sapportals.portal.appintegrator
Interface ILayerFactory

All Known Implementing Classes:
AbstractIntegratorComponent

public interface ILayerFactory

Version:
$Revision: #1 $.

Method Summary
 IIntegrationLayer getIntegrationLayerInstance(java.lang.String layerClassName)
          Loads and Returns an integration layer class from the perspective of this PAR.
 

Method Detail

getIntegrationLayerInstance

public IIntegrationLayer getIntegrationLayerInstance(java.lang.String layerClassName)
                                              throws java.lang.ClassNotFoundException,
                                                     java.lang.IllegalAccessException,
                                                     java.lang.InstantiationException
Loads and Returns an integration layer class from the perspective of this PAR. When the MainIntegratorComponent is used by other application integrator component that provide their own integration layers, the corresponding classes have to be loaded from the other PAR and not from this PAR classloader.
Parameters:
layerClassName - the class name of the IIntegrationLayer that is loaded from this class loader
Returns:
an integration layer instance for the given layerClassName.
Throws:
ClassNotFoundException, - see ClassNotFoundException
IllegalAccessException, - see IllegalAccessException
InstantiationException, - see InstantiationException
See Also:
IIntegrationLayer