1 22 package org.jboss.annotation.ejb; 23 24 import java.lang.annotation.Annotation ; 25 import java.util.ArrayList ; 26 27 import org.jboss.annotation.ejb.RemoteBinding; 28 29 33 public class TransactionTimeoutImpl implements TransactionTimeout 34 { 35 private int value = 0; 36 37 public TransactionTimeoutImpl() 38 { 39 40 } 41 42 public TransactionTimeoutImpl(int value) 43 { 44 this.value = value; 45 } 46 47 public void setValue(int value) 48 { 49 this.value = value; 50 } 51 52 public int value() 53 { 54 return value; 55 } 56 57 public Class <? extends Annotation > annotationType() 58 { 59 return TransactionTimeout.class; 60 } 61 } 62 | Popular Tags |