|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.portal.wsrp.consumer.PortletDriverRegistryImpl
Manages the drivers for the portlets the consumerEnvironment holds
Per portlet one portletDriver will be stored
Field Summary | |
protected WSRPAdapter |
adapter
The WSRP adapter. |
protected org.apache.wsrp4j.consumer.ConsumerEnvironment |
consumerEnv
The consumer environment. |
protected Hashtable |
portletDrivers
All portletDrivers the consumerEnvironment needs. |
Constructor Summary | |
PortletDriverRegistryImpl()
|
Method Summary | |
Iterator |
getAllPortletDrivers()
Get all cached portlet drivers. |
org.apache.wsrp4j.consumer.PortletDriver |
getPortletDriver(org.apache.wsrp4j.consumer.WSRPPortlet portlet)
Get an portlet driver for the given portlet. |
void |
setConsumerEnvironment(org.apache.wsrp4j.consumer.ConsumerEnvironment env)
|
void |
setWSRPAdapter(WSRPAdapter adapter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final Hashtable portletDrivers
protected org.apache.wsrp4j.consumer.ConsumerEnvironment consumerEnv
protected WSRPAdapter adapter
Constructor Detail |
public PortletDriverRegistryImpl()
Method Detail |
public void setConsumerEnvironment(org.apache.wsrp4j.consumer.ConsumerEnvironment env)
setConsumerEnvironment
in interface RequiresConsumerEnvironment
RequiresConsumerEnvironment.setConsumerEnvironment(org.apache.wsrp4j.consumer.ConsumerEnvironment)
public void setWSRPAdapter(WSRPAdapter adapter)
setWSRPAdapter
in interface RequiresWSRPAdapter
RequiresWSRPAdapter.setWSRPAdapter(org.apache.cocoon.portal.wsrp.adapter.WSRPAdapter)
public org.apache.wsrp4j.consumer.PortletDriver getPortletDriver(org.apache.wsrp4j.consumer.WSRPPortlet portlet) throws org.apache.wsrp4j.exception.WSRPException
getPortletDriver
in interface org.apache.wsrp4j.consumer.PortletDriverRegistry
portlet
- The portlet the returned portlet driver is bound to.
org.apache.wsrp4j.exception.WSRPException
public Iterator getAllPortletDrivers()
getAllPortletDrivers
in interface org.apache.wsrp4j.consumer.PortletDriverRegistry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |