1 25 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.basic; 26 27 import javax.ejb.Local ; 28 import javax.ejb.Stateful ; 29 30 import org.objectweb.easybeans.tests.common.ejbs.base.ItfSimplePrintMessage; 31 32 38 @Stateful (name = "SFSBDeployTest02") 39 @Local (ItfSimplePrintMessage.class) 40 public class SFSBDeployTest02 { 41 44 public static final String MESSAGE = "Hi"; 45 48 private String strMessage = ""; 49 50 54 public void startup(final String message) { 55 strMessage = message; 56 } 57 58 63 public void startup(final String message1, final String message2) { 64 strMessage = message1 + message2; 65 } 66 67 71 public String getMessage() { 72 return strMessage; 73 } 74 75 79 public String getDefaultMessage() { 80 return MESSAGE; 81 } 82 } 83 | Popular Tags |