org.apache.tapestry5.internal.services
Class ObjectComponentEventResultProcessor

java.lang.Object
  extended by org.apache.tapestry5.internal.services.ObjectComponentEventResultProcessor
All Implemented Interfaces:
ComponentEventResultProcessor<java.lang.Object>

public class ObjectComponentEventResultProcessor
extends java.lang.Object
implements ComponentEventResultProcessor<java.lang.Object>

A catch-all for type Object that reports the return value as an error.


Constructor Summary
ObjectComponentEventResultProcessor(java.util.Collection<java.lang.Class> configuredClasses)
           
 
Method Summary
 void processResultValue(java.lang.Object value)
          For a given, non-null return value from a component event method, construct and send a response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectComponentEventResultProcessor

public ObjectComponentEventResultProcessor(java.util.Collection<java.lang.Class> configuredClasses)
Method Detail

processResultValue

public void processResultValue(java.lang.Object value)
                        throws java.io.IOException
Description copied from interface: ComponentEventResultProcessor
For a given, non-null return value from a component event method, construct and send a response.

Specified by:
processResultValue in interface ComponentEventResultProcessor<java.lang.Object>
Parameters:
value - the value returned from a method
Throws:
java.io.IOException


Copyright © 2003-2012 The Apache Software Foundation.