1 23 package com.sun.enterprise.transaction; 24 25 import java.rmi.RemoteException ; 26 import java.io.Serializable ; 27 import javax.transaction.*; 28 import java.util.ArrayList ; 29 30 public class TransactionAdminBean implements java.io.Serializable { 31 private Object m_identifier; 32 private String m_id; 33 private String m_status; 34 private long m_elapsedTime; 35 private String m_componentName; 36 private ArrayList <String > m_resourceNames; 37 38 public TransactionAdminBean(Object identifier, String id, String status, long elapsedTime, 39 String componentName, ArrayList <String > resourceNames) { 40 m_identifier = identifier; 41 m_id=id; 42 m_status = status; 43 m_elapsedTime = elapsedTime; 44 m_componentName = componentName; 45 m_resourceNames = resourceNames; 46 } 47 48 50 public Object getIdentifier(){ 51 return m_identifier; 52 } 53 54 public String getId(){ 55 return m_id; 56 } 57 58 public String getStatus(){ 59 return m_status; 60 } 61 62 public long getElapsedTime(){ 63 return m_elapsedTime; 64 } 65 66 public String getComponentName() { 67 return m_componentName; 68 } 69 70 public ArrayList <String > getResourceNames() { 71 return m_resourceNames; 72 } 73 74 76 public void setIdentifier(Object id){ 77 m_identifier = id; 78 } 79 80 public void setId(String id){ 81 m_id=id; 82 } 83 84 public void setStatus(String sts){ 85 m_status = sts; 86 } 87 88 public void setElapsedTime(long time){ 89 m_elapsedTime = time; 90 } 91 92 public void setComponentName(String componentName) { 93 m_componentName = componentName; 94 } 95 96 public void setResourceNames(ArrayList <String > resourceNames) { 97 m_resourceNames = resourceNames; 98 } 99 100 } 101 102 103 104 | Popular Tags |