1 23 24 package com.sun.enterprise.admin.event.tx; 25 26 import com.sun.enterprise.admin.event.*; 27 28 import com.sun.enterprise.util.i18n.StringManager; 30 31 35 public class TransactionsRecoveryEvent extends AdminEvent implements CommandEvent { 36 37 40 public static final String eventType = TransactionsRecoveryEvent.class.getName(); 41 42 45 private String _serverName; private String _logDir; 48 54 public TransactionsRecoveryEvent(String instance, String serverNameToRecover, String logDirPath) { 55 this(eventType, instance, serverNameToRecover, logDirPath); 56 } 57 58 65 public TransactionsRecoveryEvent(String type, String instance, String serverNameToRecover, String logDirPath) { 66 super(type, instance); 67 _serverName = serverNameToRecover; 68 _logDir = logDirPath; 69 } 70 71 74 public String getServerName() { 75 return _serverName; 76 } 77 78 81 public String getLogDir() { 82 return _logDir; 83 } 84 } 85 | Popular Tags |