org.jboss.seam.async
Class AsynchronousEvent

java.lang.Object
  extended by org.jboss.seam.async.Asynchronous
      extended by org.jboss.seam.async.AsynchronousEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TransactionCompletionEvent, TransactionSuccessEvent

public class AsynchronousEvent
extends Asynchronous

An asynchronous event

Author:
Gavin King
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.seam.async.Asynchronous
Asynchronous.ContextualAsynchronousRequest
 
Constructor Summary
AsynchronousEvent(java.lang.String type, java.lang.Object[] parameters)
           
 
Method Summary
 void execute(java.lang.Object timer)
           
protected  java.lang.String getType()
           
protected  void handleException(java.lang.Exception exception, java.lang.Object timer)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsynchronousEvent

public AsynchronousEvent(java.lang.String type,
                         java.lang.Object[] parameters)
Method Detail

execute

public void execute(java.lang.Object timer)
Specified by:
execute in class Asynchronous

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

protected java.lang.String getType()

handleException

protected void handleException(java.lang.Exception exception,
                               java.lang.Object timer)
Specified by:
handleException in class Asynchronous


Copyright © 2011 Seam Framework. All Rights Reserved.