org.apache.tapestry5.internal.services
Class ObjectComponentEventResultProcessor

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

public class ObjectComponentEventResultProcessor
extends Object
implements ComponentEventResultProcessor<Object>

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


Constructor Summary
ObjectComponentEventResultProcessor(Collection<Class> configuredClasses)
           
 
Method Summary
 void processResultValue(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(Collection<Class> configuredClasses)
Method Detail

processResultValue

public void processResultValue(Object value)
                        throws 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<Object>
Parameters:
value - the value returned from a method
Throws:
IOException


Copyright © 2003-2012 The Apache Software Foundation.