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:
- EventAspect, LogEnabled, Serviceable, ThreadSafe
- Direct Known Subclasses:
- FrameEventAspect, LinkEventAspect
- public abstract class AbstractContentEventAspect
- extends AbstractLogEnabled
- implements EventAspect, ThreadSafe, Serviceable
- Version:
- $Id: AbstractContentEventAspect.java 321405 2005-10-15 18:15:44Z cziegeler $
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
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
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
- See Also:
EventAspect.process(org.apache.cocoon.portal.event.aspect.EventAspectContext, org.apache.cocoon.portal.PortalService)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.