1 25 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.basic; 26 27 import javax.ejb.Remote ; 28 import javax.ejb.Stateful ; 29 30 import org.objectweb.easybeans.tests.common.ejbs.base.ItfSimplePrintMessage; 31 32 33 39 @Stateful (name = "SFSBDeployTest") 40 @Remote 41 public class SFSBDeployTest implements ItfSimplePrintMessage { 42 43 46 private String strMessage = ""; 47 48 52 public void startup(final String message) { 53 strMessage = message; 54 } 55 56 61 public void startup(final String message1, final String message2) { 62 strMessage = message1 + message2; 63 } 64 65 69 public String getMessage() { 70 return strMessage; 71 } 72 73 77 public String getDefaultMessage() { 78 return DEFAULT_MESSAGE; 79 } 80 } 81 | Popular Tags |