com.sapportals.portal.appintegrator

Class AbstractIntegratorComponent

java.lang.Object
  extended by com.sapportals.portal.prt.component.AbstractPortalComponent
      extended by com.sapportals.portal.appintegrator.AbstractIntegratorComponent
All Implemented Interfaces:
IApplicationParameterLookup, ILayerFactory, IEventListenerComponent, INonCachablePortalComponent, IPortalComponent, IPortalComponentInit

public class AbstractIntegratorComponent
extends AbstractPortalComponent
implements IApplicationParameterLookup, ILayerFactory, INonCachablePortalComponent

Description


Constructor Summary
AbstractIntegratorComponent()
           
 
Method Summary
protected  void doActionPass(IPortalComponentRequest request)
          Processes the first pass (action-pass) of the layer stack.
protected  void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
          Processes the second pass (content-pass) of the layer stack.
protected  void doContentPass(IPortalComponentRequest request, IPortalComponentResponse response)
          Processes the second pass (content-pass) of the layer stack.
protected  void doOnPOMReady(IPortalComponentRequest request, IEvent event)
          Processes the first pass (action-pass) of the layer stack.
protected  String getBasicEnvironment(IPortalComponentRequest request, ILayerProcessor layerProc)
           
 IIntegrationLayer getIntegrationLayerInstance(String layerClassName)
          Loads and Returns an integration layer class from the perspective of this PAR.
protected  ILayerProcessor getLayerProcessor(IPortalComponentRequest request)
           
 Enumeration getParameterNames(IComponentNode node)
          Returns an enumeration of the parameters of the given application type The returned enumeration lists all parameters the application type can handle regardless whether they are mandatory or not.
 
Methods inherited from class com.sapportals.portal.prt.component.AbstractPortalComponent
destroy, doAbout, doAfterContent, doBeforeContent, doComponentEvent, doEdit, doHandleEditData, doHelp, doOnNodeReady, doOnNodeRemove, doPreview, doRefresh, doRequestEvent, getCacheDiscriminant, getCachingLevel, handleEvent, hasExpired, init, init, init, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIntegratorComponent

public AbstractIntegratorComponent()
Method Detail

getParameterNames

public Enumeration getParameterNames(IComponentNode node)
Description copied from interface: IApplicationParameterLookup
Returns an enumeration of the parameters of the given application type The returned enumeration lists all parameters the application type can handle regardless whether they are mandatory or not. Some parameters may depends on others and it makes only sense to set them, when the parameters they depend on are defined.

Specified by:
getParameterNames in interface IApplicationParameterLookup
Parameters:
node - The POM component node that is assigned to the integrator Portal Component.
Returns:
enumeration of the parameters that can be handled by the integrator component that is assigned to the given node.
See Also:
IApplicationParameterLookup.getParameterNames(IComponentNode)

doOnPOMReady

protected void doOnPOMReady(IPortalComponentRequest request,
                            IEvent event)
Processes the first pass (action-pass) of the layer stack.

Overrides:
doOnPOMReady in class AbstractPortalComponent
Parameters:
request - the IPortalComponentRequest
event - not used here
See Also:
IIntegrationLayer

doActionPass

protected void doActionPass(IPortalComponentRequest request)
Processes the first pass (action-pass) of the layer stack.


doContent

protected void doContent(IPortalComponentRequest request,
                         IPortalComponentResponse response)
Processes the second pass (content-pass) of the layer stack.

Specified by:
doContent in class AbstractPortalComponent
Parameters:
request - the IPortalComponentRequest
response - response
See Also:
IIntegrationLayer

doContentPass

protected void doContentPass(IPortalComponentRequest request,
                             IPortalComponentResponse response)
Processes the second pass (content-pass) of the layer stack.

Parameters:
request -
response -

getIntegrationLayerInstance

public IIntegrationLayer getIntegrationLayerInstance(String layerClassName)
                                              throws ClassNotFoundException,
                                                     IllegalAccessException,
                                                     InstantiationException
Description copied from interface: ILayerFactory
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.

Specified by:
getIntegrationLayerInstance in interface ILayerFactory
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
IllegalAccessException
InstantiationException
See Also:
ILayerFactory.getIntegrationLayerInstance(String)

getLayerProcessor

protected ILayerProcessor getLayerProcessor(IPortalComponentRequest request)

getBasicEnvironment

protected String getBasicEnvironment(IPortalComponentRequest request,
                                     ILayerProcessor layerProc)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/appintegration/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice