1 25 26 package org.objectweb.easybeans.container.info; 27 28 import java.util.Map ; 29 30 import javax.ejb.ApplicationException ; 31 import javax.ejb.TransactionManagementType ; 32 33 import org.objectweb.easybeans.api.bean.info.IBeanInfo; 34 import org.objectweb.easybeans.api.bean.info.ISecurityInfo; 35 36 import static javax.ejb.TransactionManagementType.CONTAINER ; 37 38 43 public class BeanInfo implements IBeanInfo { 44 45 48 private String name; 49 50 53 private ISecurityInfo securityInfo = null; 54 55 58 private TransactionManagementType transactionManagementType = CONTAINER; 59 60 63 private Map <String , ApplicationException > applicationExceptions = null; 64 65 66 70 public Map <String , ApplicationException > getApplicationExceptions() { 71 return applicationExceptions; 72 } 73 74 78 public void setApplicationExceptions(final Map <String , ApplicationException > applicationExceptions) { 79 this.applicationExceptions = applicationExceptions; 80 } 81 82 86 public TransactionManagementType getTransactionManagementType() { 87 return transactionManagementType; 88 } 89 90 94 public void setTransactionManagementType(final TransactionManagementType transactionManagementType) { 95 this.transactionManagementType = transactionManagementType; 96 } 97 98 102 public void setSecurityInfo(final ISecurityInfo securityInfo) { 103 this.securityInfo = securityInfo; 104 } 105 106 107 111 public ISecurityInfo getSecurityInfo() { 112 return securityInfo; 113 } 114 115 119 public String getName() { 120 return name; 121 } 122 123 127 public void setName(final String name) { 128 this.name = name; 129 } 130 } 131 | Popular Tags |