org.apache.cocoon.components.notification
Class DefaultNotifyingBuilder
java.lang.Object
org.apache.cocoon.components.notification.DefaultNotifyingBuilder
- All Implemented Interfaces:
- org.apache.cocoon.components.notification.NotifyingBuilder
- public class DefaultNotifyingBuilder
- extends Object
- implements org.apache.cocoon.components.notification.NotifyingBuilder
Generates an Notifying representation of widely used objects.
- Version:
- $Id: DefaultNotifyingBuilder.java 587751 2007-10-24 02:41:36Z vgritsenko $
| Fields inherited from interface org.apache.cocoon.components.notification.NotifyingBuilder |
ROLE |
|
Method Summary |
org.apache.cocoon.components.notification.Notifying |
build(Object sender,
Object o)
Builds a Notifying object (SimpleNotifyingBean in this case)
that tries to explain what the Object o can reveal. |
org.apache.cocoon.components.notification.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNotifyingBuilder
public DefaultNotifyingBuilder()
build
public org.apache.cocoon.components.notification.Notifying build(Object sender,
Object o)
- Builds a Notifying object (SimpleNotifyingBean in this case)
that tries to explain what the Object o can reveal.
- Specified by:
build in interface org.apache.cocoon.components.notification.NotifyingBuilder
- Parameters:
sender - who sent this Object.o - the object to use when building the SimpleNotifyingBean
- Returns:
- the Notifying Object that was build
- See Also:
Notifying
build
public org.apache.cocoon.components.notification.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.
- Specified by:
build in interface org.apache.cocoon.components.notification.NotifyingBuilder
- Parameters:
sender - who sent this Object.o - the object to use when building the SimpleNotifyingBeantype - see the Notifying apidocstitle - see the Notifying apidocssource - see the Notifying apidocsmessage - see the Notifying apidocsdescription - see the Notifying apidocsextra - see the Notifying apidocs
- Returns:
- the Notifying Object that was build
- See Also:
Notifying
getRootCause
public static Throwable getRootCause(Throwable t)
- Get root cause Throwable.
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.