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

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

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

The implementation of the invoker factory

Version:
CVS $Id: PortletInvokerFactoryImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

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

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

dispose

public void dispose()
Specified by:
dispose in interface Disposable

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

releasePortletInvoker

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


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.