com.novell.afw.portal.factory
Class EboFactory
java.lang.Object
|
+--com.novell.afw.portal.factory.EboFactory
- public final class EboFactory
- extends Object
Allows access to the portal aggregation controller.
To implement your own controller you must implement the EbiPortalAggregationController interface
or extend the abstract class com.novell.afw.portal.aggregation.EboPortalAggregationController. (The default
implementation is defined in com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.)
The Implementing class (your controller) must be added to the portal services
service.xml for the "com.novell.afw.portal.api.EbiPortalAggregationController" interface so that
this factory can load your implementation.
Note
This factory provides a singleton pattern. Only one instance will be
instantiated so your implementation must be thread safe !
- Since:
- v.5.0
- See Also:
EbiPortalAggregationController
,
EboPortalAggregationController
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
EboFactory
public EboFactory()
getController
public static EbiPortalAggregationController getController()
- Returns the singleton of the implementing class of the EbiPortalAggregationController interface.
if this method is called for the first time, the implementing class will be determined by the
service.xml entry for the "com.novell.afw.portal.api.EbiPortalAggregationController" interface.The instance
will be created using 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
- See Also:
EbiPortalAggregationController