当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
NotificationInterceptor.NotificationTask - JBOSS Portal 2.6 API 英文版文档
org.jboss.portlet.forums.interceptors
Class NotificationInterceptor.NotificationTask
java.lang.Object
org.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)
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