org.superbiz
Class FriendlyPersonImpl
java.lang.Object
org.superbiz.FriendlyPersonImpl
- All Implemented Interfaces:
- FriendlyPersonLocal, FriendlyPersonRemote
public class FriendlyPersonImpl
- extends Object
- implements FriendlyPersonLocal, FriendlyPersonRemote
This is an EJB 3 style pojo stateful session bean
it does not need to implement javax.ejb.SessionBean
- Author:
- David Blevins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FriendlyPersonImpl
public FriendlyPersonImpl()
create
public void create()
- This method corresponds to the FriendlyPersonEjbHome.create() method
and the FriendlyPersonEjbLocalHome.create()
If you do not have an EJBHome or EJBLocalHome interface, this method
can be deleted.
remove
public void remove()
- This method corresponds to the following methods:
- EJBObject.remove()
- EJBHome.remove(ejbObject)
- EJBLocalObject.remove()
- EJBLocalHome.remove(ejbObject)
If you do not have an EJBHome or EJBLocalHome interface, this method
can be deleted.
greet
public String greet(String friend)
- Specified by:
greet
in interface FriendlyPersonLocal
- Specified by:
greet
in interface FriendlyPersonRemote
greet
public String greet(String language,
String friend)
- Specified by:
greet
in interface FriendlyPersonLocal
- Specified by:
greet
in interface FriendlyPersonRemote
addGreeting
public void addGreeting(String language,
String message)
- Specified by:
addGreeting
in interface FriendlyPersonLocal
- Specified by:
addGreeting
in interface FriendlyPersonRemote
setLanguagePreferences
public void setLanguagePreferences(String friend,
String language)
- Specified by:
setLanguagePreferences
in interface FriendlyPersonLocal
- Specified by:
setLanguagePreferences
in interface FriendlyPersonRemote
getDefaultLanguage
public String getDefaultLanguage()
- Specified by:
getDefaultLanguage
in interface FriendlyPersonLocal
- Specified by:
getDefaultLanguage
in interface FriendlyPersonRemote
setDefaultLanguage
public void setDefaultLanguage(String defaultLanguage)
- Specified by:
setDefaultLanguage
in interface FriendlyPersonLocal
- Specified by:
setDefaultLanguage
in interface FriendlyPersonRemote
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.