org.apache.cocoon.portal.event.aspect.impl
Class PageLabelEventAspect

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.portal.event.aspect.impl.PageLabelEventAspect
All Implemented Interfaces:
Disposable, Component, LogEnabled, Serviceable, ThreadSafe, EventAspect

public class PageLabelEventAspect
extends AbstractLogEnabled
implements EventAspect, ThreadSafe, Serviceable, Disposable

Converts links generated by the PageLabelLinkService into events and publishes them. Used in conjunction with the PageLabelLinkService, links generated from the layout portal.xml will be based upon the names of the named items.

Version:
CVS $Id: PageLabelEventAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Ralph Goers

Field Summary
protected  PageLabelManager labelManager
           
protected  ServiceManager manager
           
 
Fields inherited from interface org.apache.cocoon.portal.event.aspect.EventAspect
ROLE
 
Constructor Summary
PageLabelEventAspect()
           
 
Method Summary
 void dispose()
           
 void process(EventAspectContext context, PortalService service)
           
 void service(ServiceManager manager)
           
 
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

labelManager

protected PageLabelManager labelManager
Constructor Detail

PageLabelEventAspect

public PageLabelEventAspect()
Method Detail

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()

process

public void process(EventAspectContext context,
                    PortalService service)
Specified by:
process in interface EventAspect
See Also:
EventAspect.process(org.apache.cocoon.portal.event.aspect.EventAspectContext, org.apache.cocoon.portal.PortalService)


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