org.apache.cocoon.portal.impl
Class PortalManagerImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.portal.impl.PortalManagerImpl
All Implemented Interfaces:
Disposable, Component, Configurable, Contextualizable, LogEnabled, Serviceable, ThreadSafe, PortalManager, PortalManagerAspect
Direct Known Subclasses:
PortletPortalManager

public class PortalManagerImpl
extends AbstractLogEnabled
implements PortalManager, Serviceable, Disposable, ThreadSafe, Contextualizable, PortalManagerAspect, Configurable

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

Field Summary
protected  ServiceSelector adapterSelector
           
protected  ServiceSelector aspectSelector
           
protected  PortalManagerAspectChain chain
           
protected  Context context
          The component context.
static String FULLSCREEN
           
protected  ServiceManager manager
          The service manager
protected  PortalService portalService
          The portal service
 
Fields inherited from interface org.apache.cocoon.portal.PortalManager
ROLE
 
Fields inherited from interface org.apache.cocoon.portal.PortalManagerAspect
ROLE
 
Constructor Summary
PortalManagerImpl()
           
 
Method Summary
 void configure(Configuration conf)
           
 void contextualize(Context context)
           
 void dispose()
           
 void prepare(PortalManagerAspectPrepareContext context, PortalService service)
           
 void process()
           
 void render(PortalManagerAspectRenderContext context, PortalService service, ContentHandler ch, Parameters parameters)
           
 void service(ServiceManager serviceManager)
           
 void showPortal(ContentHandler contentHandler, Parameters parameters)
           
 
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


portalService

protected PortalService portalService
The portal service


chain

protected PortalManagerAspectChain chain

aspectSelector

protected ServiceSelector aspectSelector

adapterSelector

protected ServiceSelector adapterSelector

context

protected Context context
The component context.


FULLSCREEN

public static final String FULLSCREEN
See Also:
Constant Field Values
Constructor Detail

PortalManagerImpl

public PortalManagerImpl()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException
See Also:
Serviceable.service(ServiceManager)

dispose

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

process

public void process()
             throws ProcessingException
Specified by:
process in interface PortalManager
Throws:
ProcessingException
See Also:
PortalManager.process()

showPortal

public void showPortal(ContentHandler contentHandler,
                       Parameters parameters)
                throws SAXException
Specified by:
showPortal in interface PortalManager
Throws:
SAXException
See Also:
PortalManager.showPortal(ContentHandler, Parameters)

configure

public void configure(Configuration conf)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)

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)

prepare

public void prepare(PortalManagerAspectPrepareContext context,
                    PortalService service)
             throws ProcessingException
Specified by:
prepare in interface PortalManagerAspect
Throws:
ProcessingException
See Also:
PortalManagerAspect.prepare(org.apache.cocoon.portal.PortalManagerAspectPrepareContext, org.apache.cocoon.portal.PortalService)

render

public void render(PortalManagerAspectRenderContext context,
                   PortalService service,
                   ContentHandler ch,
                   Parameters parameters)
            throws SAXException
Specified by:
render in interface PortalManagerAspect
Throws:
SAXException
See Also:
PortalManagerAspect.render(org.apache.cocoon.portal.PortalManagerAspectRenderContext, org.apache.cocoon.portal.PortalService, org.xml.sax.ContentHandler, org.apache.avalon.framework.parameters.Parameters)


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