org.apache.tapestry.describe
Class ReportStatusHubImpl
java.lang.Object
org.apache.tapestry.describe.ReportStatusHubImpl
- All Implemented Interfaces:
- ReportStatusHub
public class ReportStatusHubImpl
- extends Object
- implements ReportStatusHub
Implementation of the tapestry.describe.ReportStatusHub service.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportStatusHubImpl
public ReportStatusHubImpl()
addReportStatusListener
public void addReportStatusListener(ReportStatusListener listener)
- Description copied from interface:
ReportStatusHub
- Adds the listener; listeners will be invoked in the order in which they
are added. Note: only service implementation that are singletons
should be report status listeners. Threaded or pooled implementations
should not be added; or should be careful to add and remove themselves
from the hub directly.
- Specified by:
addReportStatusListener
in interface ReportStatusHub
removeReportStatusListener
public void removeReportStatusListener(ReportStatusListener listener)
- Specified by:
removeReportStatusListener
in interface ReportStatusHub
fireReportStatus
public void fireReportStatus(IMarkupWriter writer)
- Description copied from interface:
ReportStatusHub
- Generates an HTML status report by invoking
ReportStatusListener.reportStatus(org.apache.tapestry.event.ReportStatusEvent)
on each
registered listener.
- Specified by:
fireReportStatus
in interface ReportStatusHub
- Parameters:
writer
- a markup writer to send the report to.
setReceiverFactory
public void setReceiverFactory(RootDescriptionReceiverFactory receiverFactory)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.