org.apache.cocoon.portal.pluto
Class PortletContainerEnvironmentImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.portal.pluto.PortletContainerEnvironmentImpl
All Implemented Interfaces:
Disposable, Initializable, Contextualizable, LogEnabled, Serviceable, org.apache.pluto.services.PortletContainerEnvironment

public class PortletContainerEnvironmentImpl
extends AbstractLogEnabled
implements org.apache.pluto.services.PortletContainerEnvironment, Serviceable, Disposable, Initializable, Contextualizable

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

Field Summary
protected  Context context
          Context
protected  ServiceManager manager
          The service manager
protected  Map services
          Services
protected  Map staticServices
          Static services
 
Constructor Summary
PortletContainerEnvironmentImpl()
           
 
Method Summary
 void contextualize(Context context)
           
 void dispose()
           
 org.apache.pluto.services.ContainerService getContainerService(Class serviceClazz)
           
protected  Object init(Object o)
          Initialize a service
 void initialize()
           
 void service(ServiceManager manager)
          Serviceable
 
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
 

Field Detail

manager

protected ServiceManager manager
The service manager


services

protected Map services
Services


staticServices

protected Map staticServices
Static services


context

protected Context context
Context

Constructor Detail

PortletContainerEnvironmentImpl

public PortletContainerEnvironmentImpl()
Method Detail

service

public void service(ServiceManager manager)
Serviceable

Specified by:
service in interface Serviceable

contextualize

public void contextualize(Context context)
Specified by:
contextualize in interface Contextualizable

initialize

public void initialize()
                throws Exception
Specified by:
initialize in interface Initializable
Throws:
Exception

init

protected Object init(Object o)
               throws Exception
Initialize a service

Throws:
Exception

dispose

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

getContainerService

public org.apache.pluto.services.ContainerService getContainerService(Class serviceClazz)
Specified by:
getContainerService in interface org.apache.pluto.services.PortletContainerEnvironment


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