FileDocCategorySizeDatePackage
TransactionsRecoveryEvent.javaAPI DocGlassfish v2 API3886Fri May 04 22:33:42 BST 2007com.sun.enterprise.admin.event.tx

TransactionsRecoveryEvent

public class TransactionsRecoveryEvent extends AdminEvent implements CommandEvent
TransactionsRecoveryEvent - emitted by DAS to send requests to Ejb Timer Service Attibutes: actionType, from, servers

Fields Summary
public static final String
eventType
Event type
private String
_serverName
Attributes ()
private String
_logDir
Constructors Summary
public TransactionsRecoveryEvent(String instance, String serverNameToRecover, String logDirPath)
Create a new TransactionsRecoveryEvent.

param
instance name of the instance to which the event applies
param
serverNameToRecover name of server instance to recover transactions
param
logDirPath - path to log files directory (can be null)

        //path to log files directory (can be null)

                                            
           
        this(eventType, instance, serverNameToRecover, logDirPath);
    
public TransactionsRecoveryEvent(String type, String instance, String serverNameToRecover, String logDirPath)
Create a new TransactionsRecoveryEvent.

param
type event type, a string representation for the event
param
instance name of the instance to which the event applies
param
serverNameToRecover name of server instance to recover transactions
param
logDirPath - path to log files directory (can be null)

        super(type, instance);
        _serverName = serverNameToRecover;
        _logDir  = logDirPath;
    
Methods Summary
public java.lang.StringgetLogDir()
Get logdir param

        return _logDir;
    
public java.lang.StringgetServerName()
Get serverName param

        return _serverName;