org.apache.cocoon.portal.pluto.factory
Class PortletInvokerFactoryImpl

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.portal.pluto.factory.AbstractFactory
          extended byorg.apache.cocoon.portal.pluto.factory.PortletInvokerFactoryImpl
All Implemented Interfaces:
Contextualizable, Disposable, org.apache.pluto.factory.Factory, LogEnabled, org.apache.pluto.factory.PortletInvokerFactory, Serviceable, ThreadSafe

public class PortletInvokerFactoryImpl
extends AbstractFactory
implements org.apache.pluto.factory.PortletInvokerFactory, Serviceable, Contextualizable, ThreadSafe, Disposable

The implementation of the invoker factory.

Version:
$Id: PortletInvokerFactoryImpl.java 325880 2005-10-17 11:57:44Z cziegeler $

Field Summary
protected  Context context
          The avalon context
protected  List localPortlets
          All local portlets
protected  ServiceManager manager
          The service manager
 
Fields inherited from class org.apache.cocoon.portal.pluto.factory.AbstractFactory
properties, servletConfig
 
Constructor Summary
PortletInvokerFactoryImpl()
           
 
Method Summary
 void contextualize(Context context)
           
 void dispose()
           
 org.apache.pluto.invoker.PortletInvoker getPortletInvoker(org.apache.pluto.om.portlet.PortletDefinition portletDefinition)
           
 void releasePortletInvoker(org.apache.pluto.invoker.PortletInvoker invoker)
           
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.cocoon.portal.pluto.factory.AbstractFactory
destroy, init
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.pluto.factory.Factory
destroy, init
 

Field Detail

context

protected Context context
The avalon context


manager

protected ServiceManager manager
The service manager


localPortlets

protected List localPortlets
All local portlets

Constructor Detail

PortletInvokerFactoryImpl

public PortletInvokerFactoryImpl()
Method Detail

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException
See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

dispose

public void dispose()
Specified by:
dispose in interface Disposable
See Also:
Disposable.dispose()

getPortletInvoker

public org.apache.pluto.invoker.PortletInvoker getPortletInvoker(org.apache.pluto.om.portlet.PortletDefinition portletDefinition)
Specified by:
getPortletInvoker in interface org.apache.pluto.factory.PortletInvokerFactory
See Also:
PortletInvokerFactory.getPortletInvoker(org.apache.pluto.om.portlet.PortletDefinition)

releasePortletInvoker

public void releasePortletInvoker(org.apache.pluto.invoker.PortletInvoker invoker)
Specified by:
releasePortletInvoker in interface org.apache.pluto.factory.PortletInvokerFactory
See Also:
PortletInvokerFactory.releasePortletInvoker(org.apache.pluto.invoker.PortletInvoker)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.