1 25 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.inheritance; 26 27 import javax.ejb.Remote ; 28 import javax.ejb.Stateful ; 29 30 import org.objectweb.easybeans.tests.common.ejbs.base.ItfSimplePrintMessage; 31 import org.objectweb.easybeans.tests.common.ejbs.base.inheritance.InheritanceTest; 32 33 38 @Stateful 39 @Remote (ItfSimplePrintMessage.class) 40 public class SFSBInheritanceTest00 extends InheritanceTest implements ItfSimplePrintMessage { 41 42 46 public String getDefaultMessage() { 47 return DEFAULT_MESSAGE; 48 } 49 50 55 public void startup(final String message1, final String message2) { 56 setMessage(message1 + message2); 57 58 } 59 60 64 public void startup(final String message) { 65 setMessage(message); 66 67 } 68 69 73 @Override 74 public String getMessage() { 75 return super.getMessage(); 76 } 77 78 } 79 | Popular Tags |