1 22 package org.jboss.invocation; 23 24 import javax.transaction.Transaction ; 25 import java.lang.reflect.Method ; 26 import java.security.Principal ; 27 import java.util.Map ; 28 29 35 public class LocalEJBInvocation extends Invocation 36 { 37 public LocalEJBInvocation() 38 { 39 } 40 41 public LocalEJBInvocation(Object id, Method m, Object [] args, Transaction tx, 42 Principal identity, Object credential) 43 { 44 super(id, m, args, tx, identity, credential); 45 } 46 47 private Transaction tx; 48 private Object credential; 49 private Principal principal; 50 private Object enterpriseContext; 51 private Object id; 52 53 public void setTransaction(Transaction tx) 54 { 55 this.tx = tx; 56 } 57 58 public Transaction getTransaction() 59 { 60 return this.tx; 61 } 62 63 public Object getCredential() 64 { 65 return credential; 66 } 67 68 public void setCredential(Object credential) 69 { 70 this.credential = credential; 71 } 72 73 public Principal getPrincipal() 74 { 75 return principal; 76 } 77 78 public void setPrincipal(Principal principal) 79 { 80 this.principal = principal; 81 } 82 83 public Object getEnterpriseContext() 84 { 85 return enterpriseContext; 86 } 87 88 public void setEnterpriseContext(Object enterpriseContext) 89 { 90 this.enterpriseContext = enterpriseContext; 91 } 92 93 public Object getId() 94 { 95 return id; 96 } 97 98 public void setId(Object id) 99 { 100 this.id = id; 101 } 102 } 103 | Popular Tags |