org.apache.cocoon.portal.event.aspect.impl
Class AbstractContentEventAspect
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.event.aspect.impl.AbstractContentEventAspect
- All Implemented Interfaces:
- Component, LogEnabled, Serviceable, ThreadSafe, EventAspect
- Direct Known Subclasses:
- FrameEventAspect, LinkEventAspect
public abstract class AbstractContentEventAspect
- extends AbstractLogEnabled
- implements EventAspect, ThreadSafe, Serviceable
- Version:
- CVS $Id: AbstractContentEventAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Jürgen Seitz, Carsten Ziegeler
Fields inherited from interface org.apache.cocoon.portal.event.aspect.EventAspect |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
AbstractContentEventAspect
public AbstractContentEventAspect()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
getRequestParameterName
protected abstract String getRequestParameterName()
getRequiredValueCount
protected abstract int getRequiredValueCount()
publish
protected abstract void publish(EventManager publisher,
Layout layout,
String[] values)
- Custom publishing of an event.
The real values for the event are contained in the array
starting with index 2!
- Parameters:
layout
- The corresponding layoutvalues
- The values contained in the request
publish
protected void publish(PortalService service,
EventManager publisher,
String[] values)
- Publish the event.
This method gets the layout object from the first two
values and invokes
publish(EventManager, Layout, String[])
.
- Parameters:
values
- The values contained in the request
process
public void process(EventAspectContext context,
PortalService service)
- Specified by:
process
in interface EventAspect
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.