站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

NotificationInterceptor.NotificationTask - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.interceptors
Class NotificationInterceptor.NotificationTask

java.lang.Object
  extended byorg.jboss.portlet.forums.interceptors.NotificationInterceptor.NotificationTask
All Implemented Interfaces:
javax.transaction.Synchronization, Transactions.Runnable
Enclosing class:
NotificationInterceptor

class NotificationInterceptor.NotificationTask
extends java.lang.Object
implements Transactions.Runnable, javax.transaction.Synchronization

The notification task.


Field Summary
private  java.util.ResourceBundle bundle
           
private  int mode
           
private  java.lang.Integer postId
           
private  java.lang.String replyURL
           
private  javax.transaction.TransactionManager tm
           
private  java.lang.String viewURL
           
 
Constructor Summary
(package private) NotificationInterceptor.NotificationTask(javax.transaction.TransactionManager tm, java.lang.String viewURL, java.lang.String replyURL, java.lang.Integer postId, int mode, java.util.ResourceBundle bundle)
           
 
Method Summary
 void afterCompletion(int status)
           
 void beforeCompletion()
           
 java.lang.Object run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tm

private final javax.transaction.TransactionManager tm

mode

private final int mode

postId

private final java.lang.Integer postId

bundle

private final java.util.ResourceBundle bundle

viewURL

private final java.lang.String viewURL

replyURL

private final java.lang.String replyURL
Constructor Detail

NotificationInterceptor.NotificationTask

NotificationInterceptor.NotificationTask(javax.transaction.TransactionManager tm,
                                         java.lang.String viewURL,
                                         java.lang.String replyURL,
                                         java.lang.Integer postId,
                                         int mode,
                                         java.util.ResourceBundle bundle)
Method Detail

run

public java.lang.Object run()
                     throws java.lang.Exception
Specified by:
run in interface Transactions.Runnable
Throws:
java.lang.Exception

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface javax.transaction.Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface javax.transaction.Synchronization