Novell exteNd
Director 5.2 API

com.novell.afw.portal.aggregation
Class EboPortalAggregationController

java.lang.Object
 |
 +--com.novell.afw.portal.aggregation.EboPortalAggregationController
All Implemented Interfaces:
EbiPortalAggregationController

public abstract class EboPortalAggregationController
extends Object
implements EbiPortalAggregationController

this is a base class to extend for a custom portal aggregation controller. to write your own controller, extend this class and implement the methods of the EbiPortalAggregationController interface. the Implementing class (your controller) has to be placed into the portal services service.xml for the "com.novell.afw.portal.api.EbiPortalAggregationController" interface so that this abstract class (via com.novell.afw.portal.factory.EboFactory) can load your implementation This abstract class provides a singleton factory pattern, hence only one instance of your controller will be instantiated and therefore it has to be thread safe !

Since:
v.5.0

Fields inherited from interface com.novell.afw.portal.api.EbiPortalAggregationController
AGGREGATION_CONTROLLER, DEFAULT_REQUEST_TIMEOUT, FORCE_RENDER_TIMEOUT, FORCE_SERIAL_SYNCH_RENDER, MAX_REQUEST_TIMEOUT, PARALLEL_RENDERING_ENABLED, REDIRECT_AFTER_REQUEST
 
Constructor Summary
EboPortalAggregationController()
           
 
Method Summary
static void destroy()
          shutdown the controller call this method to cleanup references and open handles by default this hook is being called from the aggregation servlet's destroy
static EbiPortalAggregationController getController()
          return the singleton of the implementing class of the EbiPortalAggregationController interface; if this is called for the first time, the implementing class will be determined via the service.xml entry for the "com.novell.afw.portal.api.EbiPortalAggregationController" interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods implemented from interface com.novell.afw.portal.api.EbiPortalAggregationController
assimilatePortletResponse, getDefaultRequestTimeout, getForceRenderTimeout, getForceSerialSynchRender, getMaxRequestTimeout, getParallelRenderEnabled, getTimeoutResponse, init, renderPortalPIDResponse, renderPortalPIDResponse, renderPortalResponse, renderPortalResponse, renderPortalResponse, renderPortalResponse, renderPortalResponse, setDefaultRequestTimeout, setForceRenderTimeout, setForceSerialSynchRender, setMaxRequestTimeout, setParallelRenderEnabled, shutdown, stylePortalResponse
 

Constructor Detail

EboPortalAggregationController

public EboPortalAggregationController()
Method Detail

getController

public static EbiPortalAggregationController getController()
return the singleton of the implementing class of the EbiPortalAggregationController interface; if this is called for the first time, the implementing class will be determined via the service.xml entry for the "com.novell.afw.portal.api.EbiPortalAggregationController" interface. the instance will be created via Class.newInstance(), so your implementation needs to provide a public, no argument constructor
Returns:
the singleton of the implementing class, cast to the interface EbiPortalAggregationController
Throws:
EboRuntimeException - if the EboBaseFactory has problems loading the implementation
Since:
v.5.0

destroy

public static void destroy()
shutdown the controller call this method to cleanup references and open handles by default this hook is being called from the aggregation servlet's destroy
Since:
v.5.0

Novell exteNd
Director 5.2 API