org.apache.cocoon.components.notification
Class DefaultNotifyingBuilder

public class DefaultNotifyingBuilder
implements NotifyingBuilder, Component
Generates an Notifying representation of widely used objects.
SinceNot specified.
VersionCVS $Id: D
Author<a href="mailto:nicolaken@apache.org">Nicola Ken Barozzi</a>, Marc Liyanage (futureLAB AG)
Wiki javadoc Use textile entry format.
Add your comments here.
Constructor Summary
DefaultNotifyingBuilder()
No description provided.
Method Summary
Notifying build( Object sender, Object o )
Builds a Notifying object (SimpleNotifyingBean in this case) that tries to explain what the Object o can reveal.
Notifying build( Object sender, Object o, String type, String title, String source, String message, String description, Map extra )
Builds a Notifying object (SimpleNotifyingBean in this case) that explains a notification.
static Throwable getRootCause( Throwable t )
Get root cause Throwable.
DefaultNotifyingBuilder
public DefaultNotifyingBuilder ( )
No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
build
public Notifying build ( Object sender, Object o )
Builds a Notifying object (SimpleNotifyingBean in this case) that tries to explain what the Object o can reveal.
Implements method in NotifyingBuilder
Parameters
TypeNameDescription
Object sender who sent this Object.
Object o the object to use when building the SimpleNotifyingBean
See also
Wiki javadoc Use textile entry format.
Add your comments here.
build
public Notifying build ( Object sender, Object o, String type, String title, String source, String message, String description, Map extra )
Builds a Notifying object (SimpleNotifyingBean in this case) that explains a notification.
Implements method in NotifyingBuilder
Parameters
TypeNameDescription
Object sender who sent this Object.
Object o the object to use when building the SimpleNotifyingBean
String type see the Notifying apidocs
String title see the Notifying apidocs
String source see the Notifying apidocs
String message see the Notifying apidocs
String description see the Notifying apidocs
Map extra see the Notifying apidocs
See also
Wiki javadoc Use textile entry format.
Add your comments here.
getRootCause
public static Throwable getRootCause ( Throwable t )
Get root cause Throwable.
Parameters
TypeNameDescription
Throwable t No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.